sapling/scripts
Adam Simpkins 4f37b53188 Various improvements to scripts/unit.py
Summary:
- Set PYTHONPATH so we actually test the extensions from the local repository
  rather than the versions installed in the system's normal python library
  directories.
- Invoke the test runner directly with subprocess, rather than via a subshell,
  and always wait for it to exit, even if we receive an interrupt during the
  test run.
- Various other minor refactoring of argument parsing and handling of the json
  results file.

Test Plan:
Ran scripts/unit.py and confirmed it tested the local version of remotefilelog,
rather than the system version.

Reviewers: durham, simonfar, quark

Reviewed By: quark

Subscribers: net-systems-diffs@, yogeshwer, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D3935628

Tasks: 13595089

Signature: t1:3935628:1475052856:61480fddbf97c830496257b89be3999364ab7c31
2016-09-28 12:10:17 -07:00
..
hg-new-workdir copy remote_bookmark reflog when sharing 2016-03-23 22:47:54 -07:00
lint.py fb-hgext: fix arc lint to catch the issue in D3236640 2016-04-29 10:56:47 -07:00
scm-prompt.sh scm-prompt: use double square brackets everywhere 2016-07-22 16:31:51 -07:00
unit.py Various improvements to scripts/unit.py 2016-09-28 12:10:17 -07:00