mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
hghave: add debugruntest feature
Summary: This allows tests to have parts that are incompatible with one of the test runners. Reviewed By: DurhamG Differential Revision: D34725125 fbshipit-source-id: c2639e059011276a160c1c141ae1c3dccc65bd8e
This commit is contained in:
parent
c427d4618a
commit
ab9029c6bc
@ -821,3 +821,8 @@ def has_mononoke():
|
|||||||
@check("bucktest", "Tests are being run from Buck")
|
@check("bucktest", "Tests are being run from Buck")
|
||||||
def has_bucktest():
|
def has_bucktest():
|
||||||
return "HGTEST_HG" in os.environ
|
return "HGTEST_HG" in os.environ
|
||||||
|
|
||||||
|
|
||||||
|
@check("bash", "running via real bash")
|
||||||
|
def has_bash():
|
||||||
|
return False
|
||||||
|
@ -817,3 +817,8 @@ def has_mononoke():
|
|||||||
@check("bucktest", "Tests are being run from Buck")
|
@check("bucktest", "Tests are being run from Buck")
|
||||||
def has_bucktest():
|
def has_bucktest():
|
||||||
return "HGTEST_HG" in os.environ
|
return "HGTEST_HG" in os.environ
|
||||||
|
|
||||||
|
|
||||||
|
@check("bash", "running via real bash")
|
||||||
|
def has_bash():
|
||||||
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user