Add impeller key to skia gold client, Turn on a framework test shard that will run unit tests with --enable-impeller (#141341)

Redo of https://github.com/flutter/flutter/pull/140985 due to CLA issues.
This commit is contained in:
Jonah Williams
2024-01-11 09:57:00 -08:00
committed by GitHub
parent 9f2e681e7b
commit 35903620c8
5 changed files with 85 additions and 1 deletions

View File

@@ -815,6 +815,15 @@ Future<void> _runFrameworkTests() async {
);
}
Future<void> runImpeller() async {
printProgress('${green}Running packages/flutter tests $reset in Impeller$reset');
await _runFlutterTest(
path.join(flutterRoot, 'packages', 'flutter'),
options: <String>['--enable-impeller'],
);
}
Future<void> runLibraries() async {
final List<String> tests = Directory(path.join(flutterRoot, 'packages', 'flutter', 'test'))
.listSync(followLinks: false)
@@ -1064,6 +1073,7 @@ Future<void> _runFrameworkTests() async {
'libraries': runLibraries,
'slow': runSlow,
'misc': runMisc,
'impeller': runImpeller,
});
}