Remove -j1 to run tools tests concurrently (#22038)

Fixes #21113.
This commit is contained in:
Danny Tuppeny
2018-09-19 17:47:06 +01:00
committed by GitHub
parent 4108240a7c
commit 7dd82813f2
3 changed files with 3 additions and 9 deletions

View File

@@ -144,7 +144,6 @@ Future<Null> _runToolTests() async {
await _pubRunTest(
path.join(flutterRoot, 'packages', 'flutter_tools'),
enableFlutterToolAsserts: true,
runConcurrently: false,
);
print('${bold}DONE: All tests successful.$reset');
@@ -197,13 +196,9 @@ Future<Null> _runCoverage() async {
Future<Null> _pubRunTest(
String workingDirectory, {
String testPath,
bool runConcurrently = true,
bool enableFlutterToolAsserts = false
}) {
final List<String> args = <String>['run', 'test', '-rcompact'];
if (!runConcurrently) {
args.add('-j1');
}
if (!hasColor)
args.add('--no-color');
if (testPath != null)