@@ -250,10 +250,6 @@ test options, specifying how tests should be run.''')
250250 hide: true , help: 'Path to safari browser executable.' )
251251 ..addFlag ('use-sdk' ,
252252 aliases: ['use_sdk' ], help: 'Use compiler or runtime from the SDK.' )
253- ..addOption ('nnbd' ,
254- allowed: NnbdMode .names,
255- defaultsTo: NnbdMode .strong.name,
256- help: 'Which set of non-nullable type features to use.' )
257253 ..addOption ('output-directory' ,
258254 aliases: ['output_directory' ],
259255 defaultsTo: "logs" ,
@@ -408,7 +404,6 @@ has been specified on the command line.''')
408404 'compiler' ,
409405 'runtime' ,
410406 'timeout' ,
411- 'nnbd' ,
412407 'sanitizer' ,
413408 'enable-asserts' ,
414409 'use-cfe' ,
@@ -628,14 +623,13 @@ has been specified on the command line.''')
628623 }
629624
630625 var progress = Progress .find (data["progress" ] as String );
631- var nnbdMode = NnbdMode .find (data["nnbd" ] as String );
632626
633627 void addConfiguration (Configuration innerConfiguration,
634628 [String ? namedConfiguration]) {
635629 var configuration = TestConfiguration (
636630 configuration: innerConfiguration,
637631 progress: progress,
638- selectors: _expandSelectors (data, innerConfiguration.nnbdMode ),
632+ selectors: _expandSelectors (data),
639633 build: data["build" ] as bool ,
640634 testList: data["test-list-contents" ] as List <String >? ,
641635 repeat: int .parse (data["repeat" ] as String ),
@@ -784,7 +778,6 @@ has been specified on the command line.''')
784778 mode,
785779 runtime,
786780 system,
787- nnbdMode: nnbdMode,
788781 sanitizer: sanitizer,
789782 timeout: timeout,
790783 enableAsserts: data['enable-asserts' ] as bool ,
@@ -819,7 +812,7 @@ has been specified on the command line.''')
819812 ///
820813 /// If no selectors are explicitly given, uses the default suite patterns.
821814 Map <String , RegExp > _expandSelectors (
822- Map <String , dynamic > configuration, NnbdMode nnbdMode ) {
815+ Map <String , dynamic > configuration) {
823816 var selectors = configuration['selectors' ] as List <String >? ?? [];
824817
825818 if (selectors.isEmpty || configuration['default-suites' ] as bool ) {
@@ -904,7 +897,7 @@ class OptionParseException implements Exception {
904897/// given filter options.
905898///
906899/// If any of the options `--system` , `--arch` , `--mode` , `--compiler` ,
907- /// `--nnbd` , or `--runtime` (or their abbreviations) are passed, then only
900+ /// or `--runtime` (or their abbreviations) are passed, then only
908901/// configurations matching those are shown.
909902void findConfigurations (Map <String , dynamic > options) {
910903 var testMatrix = TestMatrix .fromPath ('tools/bots/test_matrix.json' );
@@ -935,11 +928,6 @@ void findConfigurations(Map<String, dynamic> options) {
935928 var compilers = [...(options['compiler' ] as List <String >).map (Compiler .find)];
936929 var runtimes = [...(options['runtime' ] as List <String >).map (Runtime .find)];
937930
938- NnbdMode ? nnbdMode;
939- if (options.containsKey ('nnbd' )) {
940- nnbdMode = NnbdMode .find (options['nnbd' ] as String );
941- }
942-
943931 var names = SplayTreeSet <String >();
944932 for (var configuration in testMatrix.configurations) {
945933 if (system != null && configuration.system != system) continue ;
@@ -954,7 +942,6 @@ void findConfigurations(Map<String, dynamic> options) {
954942 if (runtimes.isNotEmpty && ! runtimes.contains (configuration.runtime)) {
955943 continue ;
956944 }
957- if (nnbdMode != null && configuration.nnbdMode != nnbdMode) continue ;
958945
959946 names.add (configuration.name);
960947 }
@@ -965,7 +952,6 @@ void findConfigurations(Map<String, dynamic> options) {
965952 if (modes.isNotEmpty) "mode=$modes " ,
966953 if (compilers.isNotEmpty) "compiler=$compilers " ,
967954 if (runtimes.isNotEmpty) "runtime=$runtimes " ,
968- if (nnbdMode != null ) "nnbd=$nnbdMode " ,
969955 ];
970956
971957 if (filters.isEmpty) {
0 commit comments