mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Revert "Use (processors-1) for test runs (test defaults to processors/2)" (#22628)
* Revert "Custom offset functionality for Popup Menu Button (#22534)" This reverts commitf44b277fa6
. * Revert "Updated the ColorScheme dartdoc: a11y (#22618)" This reverts commitaa6a27e8a2
. * Revert "Added support for the Khmer (km) language (#22617)" This reverts commit3a87b93fce
. * Revert "Use 'Future<void>' insted of 'Future<Null>' in SystemChrome (#22583)" This reverts commit37c10acb97
. * Revert "Choice Chip Fix (#22589)" This reverts commit8d76d37f33
. * Revert "Throw if trying to set fs.currentDirectory in tests (#22037)" This reverts commit2f6155bf18
. * Revert "Use (processors-1) for test runs (test defaults to processors/2) (#22085)" This reverts commitd44f003079
.
This commit is contained in:
parent
55d70506ed
commit
d43155695d
|
@ -4,7 +4,6 @@
|
|||
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
|
@ -200,8 +199,6 @@ Future<Null> _pubRunTest(
|
|||
bool enableFlutterToolAsserts = false
|
||||
}) {
|
||||
final List<String> args = <String>['run', 'test', '-rcompact'];
|
||||
final int concurrency = math.max(1, Platform.numberOfProcessors - 1);
|
||||
args.add('-j$concurrency');
|
||||
if (!hasColor)
|
||||
args.add('--no-color');
|
||||
if (testPath != null)
|
||||
|
|
Loading…
Reference in a new issue