Strip off .py from the possible filename to see if it needs to be
skipped. It seems rather user-unfriendly to require the user to know to
add the suffix, especially when the output doesn't include it.
Signed-off-by: Nishanth Aravamudan <[email protected]>
diff --git a/utils/unittest_suite.py b/utils/unittest_suite.py
index 82580ea..8d79d84 100755
--- a/utils/unittest_suite.py
+++ b/utils/unittest_suite.py
@@ -263,7 +263,7 @@ def scan_for_modules(start, options):
if fname.endswith('_unittest.py'):
if not options.full and fname in LONG_TESTS:
continue
- if fname in skip_tests:
+ if fname[:-3] in skip_tests:
continue
path_no_py = os.path.join(dirpath, fname).rstrip('.py')
assert path_no_py.startswith(ROOT)
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel