##// END OF EJS Templates
tests: add coverage for run-tests.py --whitelist
timeless -
r29173:fa9fae9a default
parent child Browse files
Show More
@@ -591,6 +591,30 b" Missing skips or blacklisted skips don't"
591 "result": "skip"
591 "result": "skip"
592 }
592 }
593 } (no-eol)
593 } (no-eol)
594
595 Whitelist trumps blacklist
596 $ echo test-failure.t > whitelist
597 $ rt --blacklist=blacklist --whitelist=whitelist --json\
598 > test-failure.t test-bogus.t
599 s
600 --- $TESTTMP/test-failure.t
601 +++ $TESTTMP/test-failure.t.err
602 @@ -1,5 +1,5 @@
603 $ echo babar
604 - rataxes
605 + babar
606 This is a noop statement so that
607 this test is still more bytes than success.
608 pad pad pad pad............................................................
609
610 ERROR: test-failure.t output changed
611 !
612 Skipped test-bogus.t: Doesn't exist
613 Failed test-failure.t: output changed
614 # Ran 1 tests, 1 skipped, 0 warned, 1 failed.
615 python hash seed: * (glob)
616 [1]
617
594 test for --json
618 test for --json
595 ==================
619 ==================
596
620
General Comments 0
You need to be logged in to leave comments. Login now