From 3936de47d2defb1c67b604f32bb4f98298045817 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Tue, 27 Oct 2009 01:05:46 -0700 Subject: [PATCH] Make test.py work on MinGW --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index bd756cacf..1a35ac5f2 100755 --- a/test.py +++ b/test.py @@ -974,6 +974,7 @@ def run_tests(): # 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 @@ def run_tests(): 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: