comparison tests/test-run-tests.t @ 22045:769198c6a62d

run-tests: add #require to abort full test This allows nuking a bunch of ugly hghave || exit 80 lines.
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Aug 2014 10:34:54 -0500
parents a06172e85fd4
children 3b5cf39ffcc4
comparison
equal deleted inserted replaced
22044:a06172e85fd4 22045:769198c6a62d
307 307
308 Skips 308 Skips
309 ================ 309 ================
310 $ cat > test-skip.t <<EOF 310 $ cat > test-skip.t <<EOF
311 > $ echo xyzzy 311 > $ echo xyzzy
312 > $ exit 80 312 > #require false
313 > EOF 313 > EOF
314 $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff 314 $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff
315 !.s 315 !.s
316 Skipped test-skip.t: irrelevant 316 Skipped test-skip.t: irrelevant
317 Failed test-failure.t: output changed 317 Failed test-failure.t: output changed