Files
sdk/pkg/dev_compiler/test/sourcemap/stacktrace_ddc_suite.dart
T
Johnni Winther 7dbf8eed3b [cfe] Support sharding in pkg/testing tests
Splits strong_test into 4 shards. This test took 4+ minutes locally with
the fast_strong_test and analyze_test ticking in at ~1:45. This change
makes local testing of frontend unittests take 2 instead of 4 minutes in
total.

Change-Id: Id6015de86d547b209a699b1e5196b3edad1e6977
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114501
Reviewed-by: Jens Johansen <jensj@google.com>
2019-08-27 09:56:53 +00:00

26 lines
671 B
Dart

import 'package:testing/testing.dart';
import 'common.dart';
import 'ddc_common.dart';
import 'sourcemaps_ddc_suite.dart' as ddc;
Future<ChainContext> createContext(
Chain suite, Map<String, String> environment) async {
return StackTraceContext();
}
class StackTraceContext extends ChainContextWithCleanupHelper {
@override
final List<Step> steps = <Step>[
const Setup(),
const SetCwdToSdkRoot(),
const TestStackTrace(
ddc.DevCompilerRunner(debugging: false, absoluteRoot: false),
"ddc",
["ddc", "ddk"]),
];
}
void main(List<String> arguments) =>
runMe(arguments, createContext, configurationPath: "testing.json");