mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
2698cf1d22
Summary: Previously, lint.py and unit.py have different logic spawning run-tests.py. The logic in `unit.py` is more robust: it sets `PYTHONPATH` and `cwd`. It sets `-j` according to CPU cores. It can find `run-tests.py` even if `MERCURIALRUNTESTS` is not set. You can run the script from any directory (not only reporoot). Test Plan: Run `lint.py` and `unit.py`, from the `scripts` directory and reporoot. Reviewers: #sourcecontrol, stash Reviewed By: stash Subscribers: stash, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4095437 Signature: t1:4095437:1477663516:13a7ac4270435c272077132915f9d02cc98a5afb |
||
---|---|---|
.. | ||
hg-new-workdir | ||
lint.py | ||
scm-prompt.sh | ||
unit.py | ||
utils.py |