ktest: Allow options to be used by other options
authorSteven Rostedt <srostedt@redhat.com>
Fri, 20 May 2011 19:48:59 +0000 (15:48 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 20 May 2011 19:48:59 +0000 (15:48 -0400)
commit2a62512bceb44ad45f78aa7ca0e9cfaee9eae46f
tree53790abb9948f7ad3f1269f74bd59b553130e67b
parent77d942ceacbad02d8498ac72ed8d634634057aec
ktest: Allow options to be used by other options

There are cases where one ktest option may be used within another
ktest option. Allow them to be reused just like config variables
but there are evaluated at time of test not config processing time.

Thus having something like:

MAKE_CMD = make ARCH=${ARCH}

TEST_START
ARCH = powerpc

TEST_START
ARCH = arm

Will have the arch defined for each test iteration.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
tools/testing/ktest/sample.conf