Skip to contentSkip to conversation

unittest suite: Remove kvm/tests/guest_test.py from list of tests

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Jan 27, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unittest suite: Remove kvm/tests/guest_test.py from list of tests

Turns out this particular file is not a unittest, although it has a name that complies with the pattern the unittest script looks for.

---
 utils/unittest_suite.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
utils/unittest_suite.py +6 -1
index 850371c..78a9602 100755
@@ -66,6 +66,11 @@ LONG_RUNTIME = set((
     'logging_manager_test.py',
     ))
 
+# This particular KVM autotest test is not a unittest
+SKIP = set((
+    'guest_test.py',
+    ))
+
 LONG_TESTS = (REQUIRES_DJANGO |
               REQUIRES_MYSQLDB |
               REQUIRES_GWT |
@@ -108,7 +113,7 @@ def run_test(mod_names, options):
 def scan_for_modules(start, options):
     modules = []
 
-    skip_tests = set()
+    skip_tests = SKIP
     if options.skip_tests:
         skip_tests.update(options.skip_tests.split())
 
Signature · 1 line
1.7.3.5