Files
sdk/pkg/dev_compiler/test/modular_suite.dart
Nicholas Shahan 60d418034a [ddc] Bump language version to 3.8
* Reformat pkg/dev_compiler.
* Re-flow some comments to keep them within 80 characters.

Change-Id: I0849ce113ecf3dce4a2b4405c2b09a17dee4df76
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433081
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2025-06-05 10:40:57 -07:00

29 lines
833 B
Dart

// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Test the modular compilation pipeline of ddc.
///
/// This is a shell that runs multiple tests, one per folder under `data/`.
library;
import 'package:modular_test/src/io_pipeline.dart';
import 'package:modular_test/src/runner.dart';
import 'modular_helpers.dart';
void main(List<String> args) async {
final options = Options.parse(args);
await resolveScripts(options);
await runSuite(
sdkRoot.resolve('tests/modular/'),
'tests/modular',
options,
IOPipeline([
SourceToSummaryDillStep(),
DDCStep(canaryFeatures: false),
RunD8(),
], cacheSharedModules: true),
);
}