Mercurial > hg-stable
changeset 35250:2a99c5bfea47
test-run-tests: do not rebuild hg in the test
d600bda4 and fc0f3ed0 added code to call `$PYTHON run-tests.py ...`. That
will rebuild hg, is slow and could have other crashes from setup.py, like:
Unable to find a working hg binary to extract the version from the
repository tags
Therefore use `run-tests.py -l` instead.
Differential Revision: https://phab.mercurial-scm.org/D1595
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 05 Dec 2017 12:23:48 -0800 |
parents | 2ea6e42ed15e |
children | 27d5c2d2db2b |
files | tests/test-run-tests.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-run-tests.t Thu Nov 09 12:10:03 2017 +0530 +++ b/tests/test-run-tests.t Tue Dec 05 12:23:48 2017 -0800 @@ -1280,7 +1280,7 @@ $ cp -R tmp tmpp $ cp tmp/test-uno.t test-solo.t - $ $PYTHON $TESTDIR/run-tests.py tmp/ test-solo.t tmpp + $ rt tmp/ test-solo.t tmpp ..... # Ran 5 tests, 0 skipped, 0 failed. $ rm -rf tmp tmpp @@ -1303,7 +1303,7 @@ > EOF $ cd .. - $ $PYTHON $TESTDIR/run-tests.py tmp/test-*.t + $ rt tmp/test-*.t --- $TESTTMP/anothertests/tmp/test-folder-fail.t +++ $TESTTMP/anothertests/tmp/test-folder-fail.t.err