forked from firka/flutter
[monorepo] remove realm checker (#160457)
This needs to work entirely differently in the monorepo world.
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
// Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:io' show File;
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
import '../utils.dart';
|
||||
|
||||
Future<void> realmCheckerTestRunner() async {
|
||||
final String engineRealmFile = path.join(flutterRoot, 'bin', 'internal', 'engine.realm');
|
||||
|
||||
final String engineRealm = File(engineRealmFile).readAsStringSync().trim();
|
||||
if (engineRealm.isNotEmpty) {
|
||||
foundError(<String>['The checked-in engine.realm file must be empty.']);
|
||||
}
|
||||
}
|
||||
@@ -65,7 +65,6 @@ import 'suite_runners/run_flutter_packages_tests.dart';
|
||||
import 'suite_runners/run_framework_coverage_tests.dart';
|
||||
import 'suite_runners/run_framework_tests.dart';
|
||||
import 'suite_runners/run_fuchsia_precache.dart';
|
||||
import 'suite_runners/run_realm_checker_tests.dart';
|
||||
import 'suite_runners/run_skp_generator_tests.dart';
|
||||
import 'suite_runners/run_test_harness_tests.dart';
|
||||
import 'suite_runners/run_verify_binaries_codesigned_tests.dart';
|
||||
@@ -150,7 +149,6 @@ Future<void> main(List<String> args) async {
|
||||
'flutter_driver_android': runFlutterDriverAndroidTests,
|
||||
'flutter_plugins': flutterPackagesRunner,
|
||||
'skp_generator': skpGeneratorTestsRunner,
|
||||
'realm_checker': realmCheckerTestRunner,
|
||||
'customer_testing': customerTestingRunner,
|
||||
'analyze': analyzeRunner,
|
||||
'fuchsia_precache': fuchsiaPrecacheRunner,
|
||||
|
||||
Reference in New Issue
Block a user