##// END OF EJS Templates
tests: de-flake test-run-tests.t's "--jobs=2 --first" test...
Martin von Zweigbergk -
r34895:b63a7d83 default
parent child Browse files
Show More
@@ -609,10 +609,7 b' Parallel runs'
609 [1]
609 [1]
610
610
611 failures in parallel with --first should only print one failure
611 failures in parallel with --first should only print one failure
612 >>> f = open('test-nothing.t', 'w')
612 $ rt --jobs 2 --first test-failure*.t
613 >>> f.write('foo\n' * 1024) and None
614 >>> f.write(' $ sleep 1') and None
615 $ rt --jobs 2 --first
616
613
617 --- $TESTTMP/test-failure*.t (glob)
614 --- $TESTTMP/test-failure*.t (glob)
618 +++ $TESTTMP/test-failure*.t.err (glob)
615 +++ $TESTTMP/test-failure*.t.err (glob)
@@ -625,14 +622,14 b' failures in parallel with --first should'
625 pad pad pad pad............................................................
622 pad pad pad pad............................................................
626
623
627 Failed test-failure*.t: output changed (glob)
624 Failed test-failure*.t: output changed (glob)
628 Failed test-nothing.t: output changed
625 Failed test-failure*.t: output changed (glob)
629 # Ran 2 tests, 0 skipped, 2 failed.
626 # Ran 2 tests, 0 skipped, 2 failed.
630 python hash seed: * (glob)
627 python hash seed: * (glob)
631 [1]
628 [1]
632
629
633
630
634 (delete the duplicated test file)
631 (delete the duplicated test file)
635 $ rm test-failure-copy.t test-nothing.t
632 $ rm test-failure-copy.t
636
633
637
634
638 Interactive run
635 Interactive run
General Comments 0
You need to be logged in to leave comments. Login now