mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Go back to -j1 in flutter_tools tests (#24196)
To see if it stops the Cirrus crashing
This commit is contained in:
parent
563ceac8d4
commit
b4ae4b00ae
@ -4,7 +4,6 @@
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
@ -230,9 +229,7 @@ Future<void> _pubRunTest(
|
||||
String testPath,
|
||||
bool enableFlutterToolAsserts = false
|
||||
}) {
|
||||
final List<String> args = <String>['run', 'test', '-rcompact'];
|
||||
final int concurrency = math.max(1, Platform.numberOfProcessors - 1);
|
||||
args.add('-j$concurrency');
|
||||
final List<String> args = <String>['run', 'test', '-rcompact', '-j1'];
|
||||
if (!hasColor)
|
||||
args.add('--no-color');
|
||||
if (testPath != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user