1
0
Fork 0
alistair23-linux/tools/testing/ktest
Rabin Vincent f9dfb65b05 ktest: Check parent options for iterated tests
Let's say we have "OUTPUT_DIR = build/${TEST_NAME}", and we're iterating
a test.  In the second iteration of a test, the TEST_NAME of the test
we're repeating is not used.  Instead, ${TEST_NAME} appears literally:

   touch /home/rabin/kernel/test/build/${TEST_NAME}/.config ... SUCCESS

Fix this by making __eval_option() check the parent test options
for a repeated test.

Link: http://lkml.kernel.org/r/1321616131-21352-2-git-send-email-rabin@rab.in

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-11-18 11:07:24 -05:00
..
compare-ktest-sample.pl ktest: Added compare script to test ktest.pl to sample.conf 2010-11-18 11:23:11 -05:00
ktest.pl ktest: Check parent options for iterated tests 2011-11-18 11:07:24 -05:00
sample.conf ktest: Add processing of complex conditionals 2011-10-17 11:58:18 -04:00