run-test: replace backslashes in TESTDIR stable
authorAdrian Buehlmann <adrian@cadifra.com>
Sun, 03 Jun 2012 19:35:23 +0200
branchstable
changeset 1084 b668ecd81629
parent 1083 64fc3d450713
child 1085 a2e7456b162e
run-test: replace backslashes in TESTDIR This may cause troubles in MSYS on Windows. [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sat Jun 02 10:09:59 2012 +0200
+++ b/tests/run-tests.py	Sun Jun 03 19:35:23 2012 +0200
@@ -1197,7 +1197,7 @@
             del os.environ[k]
 
     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
-    TESTDIR = os.environ["TESTDIR"] = os.getcwd()
+    TESTDIR = os.environ["TESTDIR"] = os.getcwd().replace('\\', '/')
     if options.tmpdir:
         options.keep_tmpdir = True
         tmpdir = options.tmpdir