run-test: replace backslashes in TESTDIR
authorAdrian Buehlmann <adrian@cadifra.com>
Sun, 03 Jun 2012 19:35:23 +0200
changeset 16840 ac3e063eebf1
parent 16839 0a0cf3f26938
child 16841 f2555e891982
run-test: replace backslashes in TESTDIR This may cause troubles in MSYS on Windows.
tests/run-tests.py
--- a/tests/run-tests.py	Fri May 25 14:24:07 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