mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
27acd63250
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 |
||
---|---|---|
.. | ||
hg-new-workdir | ||
lint.py | ||
scm-prompt.sh | ||
unit.py |