ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Configuration variable problem

On Sat, May 29, 2010 at 4:19 AM, Stathis Kamperis 
<> wrote:
> Salute!
> When I do:
> atf-run -v iterations=1000 ./t_foo
> the test program successfully recognizes the variable `iterations' and
> uses its value.
> When I do:
> prop: iterations=1000
> inside the Atffile and then:
> atf-run ./t_foo
> the test program fails with:
> Requirement failed: atf_tc_has_config_var(tc, name) not met
> Any hint on what I'm doing wrong ? :)

properties in the atffile are kind of meta-data for the test suite --
and they have proven to be useless so far; maybe they should vanish.

What you want are configuration variables; use the conf token instead of prop.


Julio Merino

Home | Main Index | Thread Index | Old Index