Make test.py work on MinGW
authorCraig Dowell <craigdo@ee.washington.edu>
Tue Oct 27 01:05:46 2009 -0700 (3 months ago)
changeset 5507ac47584eca3e
parent 5506 7c6f8ebf4a34
child 5508 8828fa46dee9
Make test.py work on MinGW
test.py
     1.1 --- a/test.py	Tue Oct 27 00:19:02 2009 -0700
     1.2 +++ b/test.py	Tue Oct 27 01:05:46 2009 -0700
     1.3 @@ -974,6 +974,7 @@
     1.4      # PASS, FAIL, CRASH and SKIP processing is done in the same place.
     1.5      #
     1.6      for test in suite_list:
     1.7 +        test = test.strip()
     1.8          if len(test):
     1.9              job = Job()
    1.10              job.set_is_example(False)
    1.11 @@ -986,7 +987,7 @@
    1.12              else:
    1.13                  multiple = ""
    1.14  
    1.15 -            path_cmd = os.path.join("utils", "test-runner --suite='%s'%s" % (test, multiple))
    1.16 +            path_cmd = os.path.join("utils", "test-runner --suite=%s%s" % (test, multiple))
    1.17              job.set_shell_command(path_cmd)
    1.18  
    1.19              if options.valgrind and test in core_valgrind_skip_tests: