# HG changeset patch # User Pierre-Yves David # Date 2021-07-11 14:09:38 # Node ID 55a715c36e3b33953bed536c1ce73b11416902aa # Parent d0c0d7b98014395601495eb74a06b0ba9634b9f4 run-test: act that we requires MSYS to run the test on Windows If this ever change we can drop that constrains, however for now it seems clear to be clear about this limitation. Differential Revision: https://phab.mercurial-scm.org/D11080 diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -3990,6 +3990,15 @@ def aggregateexceptions(path): if __name__ == '__main__': + if WINDOWS and not os.getenv('MSYSTEM'): + print('cannot run test on Windows without MSYSTEM', file=sys.stderr) + print( + '(if you need to do so contact the mercurial devs: ' + 'mercurial@mercurial-scm.org)', + file=sys.stderr, + ) + sys.exit(255) + runner = TestRunner() try: