From 7f1ae0f76b7a0bdee46786e937781b9e0082d2e0 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 17 Jun 2015 23:32:49 +0200 Subject: Do not unset user values before the first test. Redundant, plus we get more coverage for the default state. --- testsuite.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index 1138f60..d1ba627 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1826,11 +1826,15 @@ def run_compatibility_tests(): os.environ.pop(var, None) shell("make allnoconfig") + first_arch_test = True + for (test_fn, compare_configs) in all_arch_tests: - print("\nUnsetting user values on all architecture Config instances " - "prior to next test...") - for arch in arch_configs: - arch.unset_user_values() + if not first_arch_test: + print("\nUnsetting user values on all architecture Config " + "instances prior to the next test...") + for arch in arch_configs: + arch.unset_user_values() + first_arch_test = False # The test description is taken from the docstring of the corresponding # function -- cgit v1.2.3