Submitter | phabricator |
---|---|
Date | Jan. 11, 2018, 3:05 a.m. |
Message ID | <differential-rev-PHID-DREV-vllqbgukovceoenuct3m-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26669/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2450,7 +2450,7 @@ # If it looks like our in-repo Rust binary, use the source root. # This is a bit hacky. But rhg is still not supported outside the # source directory. So until it is, do the simple thing. - elif re.search(b'|/rust/target/[^/]+/hg', normbin): + elif re.search(b'/rust/target/[^/]+/hg', normbin): self._pythondir = os.path.dirname(self._testdir) # Fall back to the legacy behavior. else: