mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-13 04:57:55 -06:00
runtests-parallel does not fail when a single bucket fails
This commit is contained in:
parent
89ebe5acad
commit
68b5c797ae
11
Jakefile.js
11
Jakefile.js
@ -729,8 +729,11 @@ function runConsoleTests(defaultReporter, defaultSubsets) {
|
||||
tests = subsetRegex ? ' -g "' + subsetRegex + '"' : '';
|
||||
var cmd = "mocha" + (debug ? " --debug-brk" : "") + " -R " + reporter + tests + colors + ' -t ' + testTimeout + ' ' + run;
|
||||
console.log(cmd);
|
||||
exec(cmd, function () {
|
||||
function finish() {
|
||||
deleteTemporaryProjectOutput();
|
||||
complete();
|
||||
}
|
||||
exec(cmd, function () {
|
||||
if (lintFlag && i === 0) {
|
||||
var lint = jake.Task['lint'];
|
||||
lint.addListener('complete', function () {
|
||||
@ -738,10 +741,8 @@ function runConsoleTests(defaultReporter, defaultSubsets) {
|
||||
});
|
||||
lint.invoke();
|
||||
}
|
||||
else {
|
||||
complete();
|
||||
}
|
||||
});
|
||||
finish();
|
||||
}, finish);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user