@@ -965,14 +965,25 @@ Future<void> _runFrameworkTests() async {
965
965
);
966
966
}
967
967
968
+ // Tests that take longer than average to run. This is usually because they
969
+ // need to compile something large or make use of the analyzer for the test.
970
+ // These tests need to be platform agnostic as they are only run on a linux
971
+ // machine to save on execution time and cost.
972
+ Future <void > runSlow () async {
973
+ printProgress ('${green }Running slow package tests$reset for directories other than packages/flutter' );
974
+ await runTracingTests ();
975
+ await runFixTests ();
976
+ await runPrivateTests ();
977
+ }
978
+
968
979
Future <void > runMisc () async {
969
980
printProgress ('${green }Running package tests$reset for directories other than packages/flutter' );
970
981
await _runTestHarnessTests ();
971
982
await runExampleTests ();
972
983
await _runDartTest (path.join (flutterRoot, 'dev' , 'bots' ));
973
984
await _runDartTest (path.join (flutterRoot, 'dev' , 'devicelab' ), ensurePrecompiledTool: false ); // See https://github.com/flutter/flutter/issues/86209
974
985
await _runDartTest (path.join (flutterRoot, 'dev' , 'conductor' , 'core' ), forceSingleCore: true );
975
- // TODO(gspencergoog): Remove the exception for fatalWarnings once https://github.com/flutter/flutter/pull/91127 has landed.
986
+ // TODO(gspencergoog): Remove the exception for fatalWarnings once https://github.com/flutter/flutter/issues/113782 has landed.
976
987
await _runFlutterTest (path.join (flutterRoot, 'dev' , 'integration_tests' , 'android_semantics_testing' ), fatalWarnings: false );
977
988
await _runFlutterTest (path.join (flutterRoot, 'dev' , 'integration_tests' , 'ui' ));
978
989
await _runFlutterTest (path.join (flutterRoot, 'dev' , 'manual_tests' ));
@@ -991,9 +1002,6 @@ Future<void> _runFrameworkTests() async {
991
1002
await _runFlutterTest (path.join (flutterRoot, 'packages' , 'flutter_test' ), options: soundNullSafetyOptions);
992
1003
await _runFlutterTest (path.join (flutterRoot, 'packages' , 'fuchsia_remote_debug_protocol' ), options: soundNullSafetyOptions);
993
1004
await _runFlutterTest (path.join (flutterRoot, 'dev' , 'integration_tests' , 'non_nullable' ), options: mixedModeNullSafetyOptions);
994
- await runTracingTests ();
995
- await runFixTests ();
996
- await runPrivateTests ();
997
1005
const String httpClientWarning =
998
1006
'Warning: At least one test in this suite creates an HttpClient. When\n '
999
1007
'running a test suite that uses TestWidgetsFlutterBinding, all HTTP\n '
@@ -1023,6 +1031,7 @@ Future<void> _runFrameworkTests() async {
1023
1031
await selectSubshard (< String , ShardRunner > {
1024
1032
'widgets' : runWidgets,
1025
1033
'libraries' : runLibraries,
1034
+ 'slow' : runSlow,
1026
1035
'misc' : runMisc,
1027
1036
});
1028
1037
}
0 commit comments