comparison tests/test-run-tests.t @ 22292:102f0e926668

run-tests: report skipped tests as "skipped" - they might still be "relevant"
author Mads Kiilerich <madski@unity3d.com>
date Tue, 26 Aug 2014 22:03:30 +0200
parents d3702a822241
children eb6adf750954
comparison
equal deleted inserted replaced
22291:3b39e1522d8f 22292:102f0e926668
323 > $ echo xyzzy 323 > $ echo xyzzy
324 > #require false 324 > #require false
325 > EOF 325 > EOF
326 $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff 326 $ $TESTDIR/run-tests.py --with-hg=`which hg` --nodiff
327 !.s 327 !.s
328 Skipped test-skip.t: irrelevant 328 Skipped test-skip.t: skipped
329 Failed test-failure.t: output changed 329 Failed test-failure.t: output changed
330 # Ran 2 tests, 1 skipped, 0 warned, 1 failed. 330 # Ran 2 tests, 1 skipped, 0 warned, 1 failed.
331 python hash seed: * (glob) 331 python hash seed: * (glob)
332 [1] 332 [1]
333 333
334 $ $TESTDIR/run-tests.py --with-hg=`which hg` --keyword xyzzy 334 $ $TESTDIR/run-tests.py --with-hg=`which hg` --keyword xyzzy
335 .s 335 .s
336 Skipped test-skip.t: irrelevant 336 Skipped test-skip.t: skipped
337 # Ran 2 tests, 2 skipped, 0 warned, 0 failed. 337 # Ran 2 tests, 2 skipped, 0 warned, 0 failed.
338 338
339 Skips with xml 339 Skips with xml
340 $ $TESTDIR/run-tests.py --with-hg=`which hg` --keyword xyzzy \ 340 $ $TESTDIR/run-tests.py --with-hg=`which hg` --keyword xyzzy \
341 > --xunit=xunit.xml 341 > --xunit=xunit.xml
342 .s 342 .s
343 Skipped test-skip.t: irrelevant 343 Skipped test-skip.t: skipped
344 # Ran 2 tests, 2 skipped, 0 warned, 0 failed. 344 # Ran 2 tests, 2 skipped, 0 warned, 0 failed.
345 $ cat xunit.xml 345 $ cat xunit.xml
346 <?xml version="1.0" encoding="utf-8"?> 346 <?xml version="1.0" encoding="utf-8"?>
347 <testsuite errors="0" failures="0" name="run-tests" skipped="2" tests="2"> 347 <testsuite errors="0" failures="0" name="run-tests" skipped="2" tests="2">
348 <testcase name="test-success.t" time="*"/> (glob) 348 <testcase name="test-success.t" time="*"/> (glob)