comparison tests/test-run-tests.t @ 38616:c44ae5997869

run-tests: add support for external test result The goal is to begin experiment with custom test result. I'm not sure we should offers any backward-compatibility guarantee on that plugin API as it doesn't change often and shouldn't have too much clients. Differential Revision: https://phab.mercurial-scm.org/D3700
author Boris Feld <boris.feld@octobus.net>
date Sat, 28 Apr 2018 12:51:44 +0200
parents f83600efa1ca
children f4a214300957
comparison
equal deleted inserted replaced
38614:4d5fb4062f0b 38616:c44ae5997869
1244 $ echo 172.16.18.1 1244 $ echo 172.16.18.1
1245 $LOCALIP (glob) 1245 $LOCALIP (glob)
1246 $ echo dead:beef::1 1246 $ echo dead:beef::1
1247 $LOCALIP (glob) 1247 $LOCALIP (glob)
1248 1248
1249 Add support for external test formatter
1250 =======================================
1251
1252 $ CUSTOM_TEST_RESULT=basic_test_result $PYTHON $TESTDIR/run-tests.py --with-hg=`which hg` "$@" test-success.t test-failure.t
1253
1254 # Ran 2 tests, 0 skipped, 0 failed.
1255 FAILURE! test-failure.t output changed
1256 SUCCESS! test-success.t
1257
1249 Test reusability for third party tools 1258 Test reusability for third party tools
1250 ====================================== 1259 ======================================
1251 1260
1252 $ mkdir "$TESTTMP"/anothertests 1261 $ mkdir "$TESTTMP"/anothertests
1253 $ cd "$TESTTMP"/anothertests 1262 $ cd "$TESTTMP"/anothertests