##// END OF EJS Templates
test-run-tests.t: tests --jobs option
Pierre-Yves David -
r21744:395e2992 default
parent child Browse files
Show More
@@ -107,3 +107,39 b' Running In Debug Mode'
107 SALT* 2 0 (glob)
107 SALT* 2 0 (glob)
108 .
108 .
109 # Ran 2 tests, 0 skipped, 0 warned, 0 failed.
109 # Ran 2 tests, 0 skipped, 0 warned, 0 failed.
110
111 Parallel runs
112 ==============
113
114 (duplicate the failing test to get predictable output)
115 $ cp test-failure.t test-failure-copy.t
116
117 $ $TESTDIR/run-tests.py --with-hg=`which hg` --jobs 2 test-failure*.t
118
119 --- $TESTTMP/test-failure*.t (glob)
120 +++ $TESTTMP/test-failure*.t.err (glob)
121 @@ -1,2 +1,2 @@
122 $ echo babar
123 - rataxes
124 + babar
125
126 ERROR: test-failure*.t output changed (glob)
127 !
128 --- $TESTTMP/test-failure*.t (glob)
129 +++ $TESTTMP/test-failure*.t.err (glob)
130 @@ -1,2 +1,2 @@
131 $ echo babar
132 - rataxes
133 + babar
134
135 ERROR: test-failure*.t output changed (glob)
136 !
137 Failed test-failure*.t: output changed (glob)
138 Failed test-failure*.t: output changed (glob)
139 # Ran 2 tests, 0 skipped, 0 warned, 2 failed.
140 python hash seed: * (glob)
141 [1]
142
143 (delete the duplicated test file)
144 $ rm test-failure-copy.t
145
General Comments 0
You need to be logged in to leave comments. Login now