Skip to content

Commit 47f585d

Browse files
sggutierfacebook-github-bot
authored andcommitted
tests: allow debugruntest tests to use a different Sapling binary
Summary: When testing D67711732, I noticed that in some cases there could be cases where debugruntest had new features but the older binary was still being used. We likely want to always use the latest debugruntest code, as it is mostly independent from Sapling. Reviewed By: markbt Differential Revision: D67870324 fbshipit-source-id: cc832a612501cdbc4d0247c00deedecce2f9fa6e
1 parent afada10 commit 47f585d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eden/scm/tests/run-tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2357,8 +2357,10 @@ def _run(self, env):
23572357
if use_edenfs:
23582358
self._edenfsmanager.start(env)
23592359

2360+
cmd = env.get("HGTEST_DEBUGRUNTEST_HG", self._hgcommand)
2361+
23602362
cmdargs = [
2361-
self._hgcommand,
2363+
cmd,
23622364
"debugpython",
23632365
"--",
23642366
"-m",

0 commit comments

Comments
 (0)