sapling/scripts
Adam Simpkins 27acd63250 [arc] honor paths specified by "arc unit"
Summary:
Update MercurialTestEngine.php and the unit.py script to honor the list of
changed files computed by arcanist.

Previously the unit.py script always used the files that were changed since the
".^" commit.  At best this was doing redundant work since arc had already
computed the list of files to test.  At worst this was testing the wrong files
if arc had been invoked with a list of explicit files to check.

Test Plan:
Ran "arc unit tests/test-mergedriver.t" and confirmed it ran the
test-mergedriver.t test, regardless of the changes in my current commit and
working directory.  Confirmed that "arc unit" with no path arguments still
ran the tests relevant to my local changes.

Reviewers: quark, rmcelroy, mjpieters

Reviewed By: mjpieters

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

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

Signature: t1:4004727:1476258607:d6adb5ec3d677f6d93016a994cadaa7a48df353a
2016-10-13 11:48:02 -07:00
..
hg-new-workdir hg-new-workdir: suppress watchman warning during initial update 2016-10-05 03:25:53 -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 [arc] honor paths specified by "arc unit" 2016-10-13 11:48:02 -07:00