##// END OF EJS Templates
run-tests: fix regular expression for path test...
Gregory Szorc -
r35618:31acf661 default
parent child Browse files
Show More
@@ -2450,7 +2450,7 b' class TestRunner(object):'
2450 # If it looks like our in-repo Rust binary, use the source root.
2450 # If it looks like our in-repo Rust binary, use the source root.
2451 # This is a bit hacky. But rhg is still not supported outside the
2451 # This is a bit hacky. But rhg is still not supported outside the
2452 # source directory. So until it is, do the simple thing.
2452 # source directory. So until it is, do the simple thing.
2453 elif re.search(b'|/rust/target/[^/]+/hg', normbin):
2453 elif re.search(b'/rust/target/[^/]+/hg', normbin):
2454 self._pythondir = os.path.dirname(self._testdir)
2454 self._pythondir = os.path.dirname(self._testdir)
2455 # Fall back to the legacy behavior.
2455 # Fall back to the legacy behavior.
2456 else:
2456 else:
General Comments 0
You need to be logged in to leave comments. Login now