# HG changeset patch # User Jun Wu <quark@fb.com> # Date 1512505428 28800 # Tue Dec 05 12:23:48 2017 -0800 # Node ID 2a99c5bfea471f286fceaf17231a0e35c174b9b6 # Parent 2ea6e42ed15e8cbef4418cca9a695a53848f1dca 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 diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -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