aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt2012-07-20 21:39:16 -0500
committerSteven Rostedt2012-07-20 21:39:16 -0500
commitc1434dcc57f97b0e533dedb8814a76ef13e702b4 (patch)
treedc1969f92f2908fe42c33a67d030087652b8dde3 /tools/testing/ktest
parent8a80c72711a9b78af433013067848c0a5473a484 (diff)
downloadkernel-omap-c1434dcc57f97b0e533dedb8814a76ef13e702b4.tar.gz
kernel-omap-c1434dcc57f97b0e533dedb8814a76ef13e702b4.tar.xz
kernel-omap-c1434dcc57f97b0e533dedb8814a76ef13e702b4.zip
ktest: Reset saved min (force) configs for each test
The min configs are saved in a perl hash called force_configs, and this hash is used to add configs to the .config file. But it was not being reset between tests and a min config from a previous test would affect the min config of the next test causing undesirable results. Reset the force_config hash at the start of each test. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest')
-rwxr-xr-xtools/testing/ktest/ktest.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index c8a42d5991be..c444c4fcc8c4 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -3634,6 +3634,8 @@ for (my $i = 1; $i <= $opt{"NUM_TESTS"}; $i++) {
3634 3634
3635 $iteration = $i; 3635 $iteration = $i;
3636 3636
3637 undef %force_config;
3638
3637 my $makecmd = set_test_option("MAKE_CMD", $i); 3639 my $makecmd = set_test_option("MAKE_CMD", $i);
3638 3640
3639 # Load all the options into their mapped variable names 3641 # Load all the options into their mapped variable names