diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-10 08:46:28 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-10 08:46:28 +0100 |
| commit | 8757ff9ae1d23499ed58ee8ea6f1fb578603d2c7 (patch) | |
| tree | 92bf5406143916bdfcb207efabed6912e2881873 /testsuite.py | |
| parent | 5c2a3458a51a78665adbebd3ce64d2ea0f95718d (diff) | |
Fix a few typos
Clean up some formatting a bit too.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testsuite.py b/testsuite.py index 8ba0edc..8115847 100644 --- a/testsuite.py +++ b/testsuite.py @@ -116,7 +116,6 @@ def run_selftests(): """ Verifies that a symbol has a particular value. """ - if isinstance(val, int): val = TRI_TO_STR[val] @@ -131,7 +130,6 @@ def run_selftests(): 'new_val'. Assumes (and tests) that 'val' is valid for the symbol type. """ - if isinstance(new_val, int): new_val = TRI_TO_STR[new_val] @@ -1645,7 +1643,6 @@ def run_compatibility_tests(): Runs tests on configurations from the kernel. Tests compability with the C implementation by comparing outputs. """ - os.environ.pop("ARCH", None) os.environ.pop("SRCARCH", None) os.environ.pop("srctree", None) @@ -1747,7 +1744,6 @@ def test_all_no(conf, arch): as 'make allnoconfig', for each architecture. Runs the script via 'make scriptconfig', so kinda slow even in speedy mode. """ - # TODO: Support speedy mode for running the script shell("make scriptconfig SCRIPT=Kconfiglib/examples/allnoconfig.py " "PYTHONCMD='{}'".format(sys.executable)) @@ -1763,7 +1759,6 @@ def test_all_no_simpler(conf, arch): .config as 'make allnoconfig', for each architecture. Runs the script via 'make scriptconfig', so kinda slow even in speedy mode. """ - # TODO: Support speedy mode for running the script shell("make scriptconfig SCRIPT=Kconfiglib/examples/allnoconfig_simpler.py " "PYTHONCMD='{}'".format(sys.executable)) @@ -1779,7 +1774,6 @@ def test_all_yes(conf, arch): as 'make allyesconfig', for each architecture. Runs the script via 'make scriptconfig', so kinda slow even in speedy mode. """ - # TODO: Support speedy mode for running the script shell("make scriptconfig SCRIPT=Kconfiglib/examples/allyesconfig.py " "PYTHONCMD='{}'".format(sys.executable)) @@ -1943,7 +1937,6 @@ def test_defconfig(conf, arch): With logging enabled, this test appends any failures to a file test_defconfig_fails in the root. """ - global nconfigs defconfigs = [] |
