File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1099,6 +1099,21 @@ targets:
1099
1099
- bin/**
1100
1100
- .ci.yaml
1101
1101
1102
+ - name : Linux realm_checker
1103
+ bringup : true
1104
+ recipe : flutter/flutter_drone
1105
+ timeout : 60
1106
+ properties :
1107
+ add_recipes_cq : " true"
1108
+ shard : realm_checker
1109
+ tags : >
1110
+ ["framework", "hostonly", "shard", "linux"]
1111
+ runIf :
1112
+ - dev/**
1113
+ - packages/flutter_tools/**
1114
+ - bin/**
1115
+ - .ci.yaml
1116
+
1102
1117
- name : Linux web_benchmarks_canvaskit
1103
1118
recipe : devicelab/devicelab_drone
1104
1119
presubmit : false
Original file line number Diff line number Diff line change 340
340
# web_long_running_tests @yjbanov @flutter/web
341
341
# web_tests @yjbanov @flutter/web
342
342
# web_tool_tests @eliasyishak @flutter/tool
343
+ # realm_checker @jacksongardner @flutter/tool
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ Future<void> main(List<String> args) async {
262
262
'web_long_running_tests' : _runWebLongRunningTests,
263
263
'flutter_plugins' : _runFlutterPackagesTests,
264
264
'skp_generator' : _runSkpGeneratorTests,
265
+ 'realm_checker' : _runRealmCheckerTest,
265
266
kTestHarnessShardName: _runTestHarnessTests, // Used for testing this script; also run as part of SHARD=framework_tests, SUBSHARD=misc.
266
267
});
267
268
} catch (error, stackTrace) {
@@ -1568,6 +1569,13 @@ Future<void> _runSkpGeneratorTests() async {
1568
1569
);
1569
1570
}
1570
1571
1572
+ Future <void > _runRealmCheckerTest () async {
1573
+ final String engineRealm = File (engineRealmFile).readAsStringSync ().trim ();
1574
+ if (engineRealm.isNotEmpty) {
1575
+ foundError (< String > ['The checked-in engine.realm file must be empty.' ]);
1576
+ }
1577
+ }
1578
+
1571
1579
// The `chromedriver` process created by this test.
1572
1580
//
1573
1581
// If an existing chromedriver is already available on port 4444, the existing
You can’t perform that action at this time.
0 commit comments