mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08: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 commit f44b277fa632c848ea113ee3f397f713bc429153. * Revert "Updated the ColorScheme dartdoc: a11y (#22618)" This reverts commit aa6a27e8a25ba4d6d68539a0ae9285385a29ae9e. * Revert "Added support for the Khmer (km) language (#22617)" This reverts commit 3a87b93fcee696480504f0659062f0d7206c44a3. * Revert "Use 'Future<void>' insted of 'Future<Null>' in SystemChrome (#22583)" This reverts commit 37c10acb978009b1ee690478a31b30eb7371eb25. * Revert "Choice Chip Fix (#22589)" This reverts commit 8d76d37f33b474c77c35c91bfeaeedd86d8a6fb5. * Revert "Throw if trying to set fs.currentDirectory in tests (#22037)" This reverts commit 2f6155bf188911bc0630b1b2e6786e968a570fe7. * Revert "Use (processors-1) for test runs (test defaults to processors/2) (#22085)" This reverts commit d44f003079b53643d6f0afd9a5f57383c3de62cb.
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…
x
Reference in New Issue
Block a user