Repository navigation
Commit f9dfb65
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>1 parent cfcfc9e commit f9dfb65
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
750 | 762 | | |
751 | 763 | | |
752 | 764 | | |
| |||
760 | 772 | | |
761 | 773 | | |
762 | 774 | | |
| 775 | + | |
763 | 776 | | |
764 | 777 | | |
765 | 778 | | |
766 | 779 | | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
767 | 783 | | |
768 | 784 | | |
769 | 785 | | |
| |||
0 commit comments