changeset 16840:ac3e063eebf1

run-test: replace backslashes in TESTDIR This may cause troubles in MSYS on Windows.
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 03 Jun 2012 19:35:23 +0200
parents 0a0cf3f26938
children f2555e891982
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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