| Index: test/io.dart
|
| diff --git a/test/io.dart b/test/io.dart
|
| index b3477430c585a23c35eedcc94514d52b08fdc551..1db00ed72b813afc1b20674cbfdecb255dda5914 100644
|
| --- a/test/io.dart
|
| +++ b/test/io.dart
|
| @@ -102,18 +102,18 @@ StreamMatcher containsInOrder(Iterable<String> strings) =>
|
| ScheduledProcess runTest(List args, {String reporter,
|
| int concurrency, Map<String, String> environment,
|
| bool forwardStdio: false}) {
|
| - reporter ??= "expanded";
|
| concurrency ??= 1;
|
|
|
| var allArgs = [
|
| p.absolute(p.join(packageDir, 'bin/test.dart')),
|
| "--package-root=${p.join(packageDir, 'packages')}",
|
| - "--concurrency=$concurrency",
|
| - "--reporter=$reporter"
|
| - ]..addAll(args);
|
| + "--concurrency=$concurrency"
|
| + ];
|
| + if (reporter != null) allArgs.add("--reporter=$reporter");
|
| + allArgs.addAll(args);
|
|
|
| if (environment == null) environment = {};
|
| - environment.putIfAbsent("_UNITTEST_USE_COLOR", () => "false");
|
| + environment.putIfAbsent("_DART_TEST_TESTING", () => "true");
|
|
|
| var process = runDart(allArgs,
|
| environment: environment,
|
|
|