Make test.py work on MinGW
authorCraig Dowell <craigdo@ee.washington.edu>
Tue, 27 Oct 2009 01:05:46 -0700
changeset 5461 ac47584eca3e
parent 5460 7c6f8ebf4a34
child 5462 8828fa46dee9
Make test.py work on MinGW
test.py
--- a/test.py	Tue Oct 27 00:19:02 2009 -0700
+++ b/test.py	Tue Oct 27 01:05:46 2009 -0700
@@ -974,6 +974,7 @@
     # PASS, FAIL, CRASH and SKIP processing is done in the same place.
     #
     for test in suite_list:
+        test = test.strip()
         if len(test):
             job = Job()
             job.set_is_example(False)
@@ -986,7 +987,7 @@
             else:
                 multiple = ""
 
-            path_cmd = os.path.join("utils", "test-runner --suite='%s'%s" % (test, multiple))
+            path_cmd = os.path.join("utils", "test-runner --suite=%s%s" % (test, multiple))
             job.set_shell_command(path_cmd)
 
             if options.valgrind and test in core_valgrind_skip_tests: