comparison tests/test-run-tests.t @ 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 073843b5e353
children c0c6df81c9bb
comparison
equal deleted inserted replaced
35249:2ea6e42ed15e 35250:2a99c5bfea47
1278 $ cp test-uno.t test-dos.t 1278 $ cp test-uno.t test-dos.t
1279 $ cd .. 1279 $ cd ..
1280 $ cp -R tmp tmpp 1280 $ cp -R tmp tmpp
1281 $ cp tmp/test-uno.t test-solo.t 1281 $ cp tmp/test-uno.t test-solo.t
1282 1282
1283 $ $PYTHON $TESTDIR/run-tests.py tmp/ test-solo.t tmpp 1283 $ rt tmp/ test-solo.t tmpp
1284 ..... 1284 .....
1285 # Ran 5 tests, 0 skipped, 0 failed. 1285 # Ran 5 tests, 0 skipped, 0 failed.
1286 $ rm -rf tmp tmpp 1286 $ rm -rf tmp tmpp
1287 1287
1288 support for running run-tests.py from another directory 1288 support for running run-tests.py from another directory
1301 > $ cat \$TESTDIR/useful-file.sh 1301 > $ cat \$TESTDIR/useful-file.sh
1302 > important commando 1302 > important commando
1303 > EOF 1303 > EOF
1304 1304
1305 $ cd .. 1305 $ cd ..
1306 $ $PYTHON $TESTDIR/run-tests.py tmp/test-*.t 1306 $ rt tmp/test-*.t
1307 1307
1308 --- $TESTTMP/anothertests/tmp/test-folder-fail.t 1308 --- $TESTTMP/anothertests/tmp/test-folder-fail.t
1309 +++ $TESTTMP/anothertests/tmp/test-folder-fail.t.err 1309 +++ $TESTTMP/anothertests/tmp/test-folder-fail.t.err
1310 @@ -1,2 +1,2 @@ 1310 @@ -1,2 +1,2 @@
1311 $ cat $TESTDIR/useful-file.sh 1311 $ cat $TESTDIR/useful-file.sh