This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +17
-15
lines changed 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -240,21 +240,23 @@ class IntegrationTestsManager {
240
240
}
241
241
242
242
Set <String > _getBuildModes () {
243
- Set <String > buildModes;
244
- if (_buildModeSelected) {
245
- final String mode = IntegrationTestsArgumentParser .instance.buildMode;
246
- if (mode == 'debug' && _browser != 'chrome' ) {
247
- throw ToolException ('Debug mode is only supported for Chrome.' );
248
- } else {
249
- buildModes = < String > {mode};
250
- }
251
- } else {
252
- // TODO(nurhan): Enable `release` when recipe is sharded.
253
- buildModes = _browser == 'chrome'
254
- ? {'debug' , 'profile' }
255
- : {'profile' };
256
- }
257
- return buildModes;
243
+ // TODO(yjbanov): reenable all modes when sharding is available.
244
+ return < String > {'profile' };
245
+ // Set<String> buildModes;
246
+ // if (_buildModeSelected) {
247
+ // final String mode = IntegrationTestsArgumentParser.instance.buildMode;
248
+ // if (mode == 'debug' && _browser != 'chrome') {
249
+ // throw ToolException('Debug mode is only supported for Chrome.');
250
+ // } else {
251
+ // buildModes = <String>{mode};
252
+ // }
253
+ // } else {
254
+ // // TODO(nurhan): Enable `release` when recipe is sharded.
255
+ // buildModes = _browser == 'chrome'
256
+ // ? {'debug', 'profile'}
257
+ // : {'profile'};
258
+ // }
259
+ // return buildModes;
258
260
}
259
261
260
262
/// Validate the directory has a `pubspec.yaml` file and a `test_driver`
You can’t perform that action at this time.
0 commit comments