skip-tests current fails to run correctly, because the list type has no
"update" method. Change it to just a straight assignemnt.

Signed-off-by: Nishanth Aravamudan <[email protected]>

diff --git a/utils/unittest_suite.py b/utils/unittest_suite.py
index 9d4c1ac..82580ea 100755
--- a/utils/unittest_suite.py
+++ b/utils/unittest_suite.py
@@ -243,7 +243,7 @@ def scan_for_modules(start, options):
 
     skip_tests = []
     if options.skip_tests:
-        skip_tests.update(options.skip_tests.split())
+        skip_tests = options.skip_tests.split()
 
     for dirpath, subdirs, filenames in os.walk(start):
         # Only look in and below subdirectories that are python modules.

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to