diagnostic - failedTests.length should be equal to testsFailed but is not in our hudson windows build
This commit is contained in:
parent
4ba5e47f32
commit
4d54f67f8d
|
@ -191,8 +191,8 @@ function runNextTest() {
|
|||
', completion rate: ' + bold + completion.toFixed(0) + '%' + reset +
|
||||
', total time: ' + bold + ((Date.now() - totalStart) / 1000).toFixed(0) + reset + 's' +
|
||||
'\n');
|
||||
if (failedTests.length > 0) {
|
||||
stderr.write('Failed tests: ' + '\n');
|
||||
if (testsFailed > 0) {
|
||||
stderr.write('Failed tests: ' + failedTests.length + '\n');
|
||||
var i = 0;
|
||||
failedTests.forEach(function(test) {
|
||||
stderr.write((++i) + ' ' + test + '\n');
|
||||
|
|
Loading…
Reference in New Issue