File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -681,8 +681,7 @@ targets:
681681 recipe : flutter/flutter
682682 timeout : 60
683683 properties :
684- validation : fuchsia_precache
685- validation_name : Fuchsia precache
684+ shard : fuchsia_precache
686685 tags : >
687686 ["framework", "hostonly", "shard", "linux"]
688687
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ Future<void> main(List<String> args) async {
265265 'realm_checker' : _runRealmCheckerTest,
266266 'customer_testing' : _runCustomerTesting,
267267 'analyze' : _runAnalyze,
268+ 'fuchsia_precache' : _runFuchsiaPrecache,
268269 kTestHarnessShardName: _runTestHarnessTests, // Used for testing this script; also run as part of SHARD=framework_tests, SUBSHARD=misc.
269270 });
270271 } catch (error, stackTrace) {
@@ -1602,6 +1603,31 @@ Future<void> _runAnalyze() async {
16021603 );
16031604}
16041605
1606+ // Runs flutter_precache.
1607+ Future <void > _runFuchsiaPrecache () async {
1608+ printProgress ('${green }Running flutter precache tests$reset ' );
1609+ await runCommand (
1610+ 'flutter' ,
1611+ < String > [
1612+ 'config' ,
1613+ '--enable-fuchsia' ,
1614+ ],
1615+ workingDirectory: flutterRoot,
1616+ );
1617+ await runCommand (
1618+ 'flutter' ,
1619+ < String > [
1620+ 'precache' ,
1621+ '--flutter_runner' ,
1622+ '--fuchsia' ,
1623+ '--no-android' ,
1624+ '--no-ios' ,
1625+ '--force' ,
1626+ ],
1627+ workingDirectory: flutterRoot,
1628+ );
1629+ }
1630+
16051631/// Runs the skp_generator from the flutter/tests repo.
16061632///
16071633/// See also the customer_tests shard.
You can’t perform that action at this time.
0 commit comments