# HG changeset patch # User Mads Kiilerich # Date 1320632710 -3600 # Node ID b4ca7adb4bf18460b2db0a915a18d05707631348 # Parent 0a583943b4b4b42c7b368c500f190438637e00f5 run-tests: convert windows paths to unix [ original upstream message ] diff -r 0a583943b4b4 -r b4ca7adb4bf1 tests/run-tests.py --- a/tests/run-tests.py Mon Nov 07 03:25:10 2011 +0100 +++ b/tests/run-tests.py Mon Nov 07 03:25:10 2011 +0100 @@ -87,7 +87,7 @@ SKIPPED_STATUS = 80 SKIPPED_PREFIX = 'skipped: ' FAILED_PREFIX = 'hghave check failed: ' -PYTHON = sys.executable +PYTHON = sys.executable.replace('\\', '/') IMPL_PATH = 'PYTHONPATH' if 'java' in sys.platform: IMPL_PATH = 'JYTHONPATH' @@ -865,7 +865,7 @@ # Make a tmp subdirectory to work in testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ - os.path.join(HGTMP, os.path.basename(test)) + os.path.join(HGTMP, os.path.basename(test)).replace('\\', '/') os.mkdir(testtmp) ret, out = runner(testpath, testtmp, options, [