Unverified Commit 68471bbb authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove --enable-web and --enable-windows-desktop from tests (#101208)

parent b0de14ce
...@@ -588,7 +588,6 @@ Future<void> _flutterBuildWin32(String relativePathToApplication, { ...@@ -588,7 +588,6 @@ Future<void> _flutterBuildWin32(String relativePathToApplication, {
List<String> additionalArgs = const <String>[], List<String> additionalArgs = const <String>[],
}) async { }) async {
assert(Platform.isWindows); assert(Platform.isWindows);
await runCommand(flutter, <String>['config', '--enable-windows-desktop']);
print('${green}Testing Windows build$reset for $cyan$relativePathToApplication$reset...'); print('${green}Testing Windows build$reset for $cyan$relativePathToApplication$reset...');
await _flutterBuild(relativePathToApplication, 'Windows', 'windows', await _flutterBuild(relativePathToApplication, 'Windows', 'windows',
release: release, release: release,
......
...@@ -136,14 +136,12 @@ class _TaskRunner { ...@@ -136,14 +136,12 @@ class _TaskRunner {
} }
if (runFlutterConfig) { if (runFlutterConfig) {
print('Enabling configs for macOS, Linux, Windows, and Web...'); print('Enabling configs for macOS and Linux...');
final int configResult = await exec(path.join(flutterDirectory.path, 'bin', 'flutter'), <String>[ final int configResult = await exec(path.join(flutterDirectory.path, 'bin', 'flutter'), <String>[
'config', 'config',
'-v', '-v',
'--enable-macos-desktop', '--enable-macos-desktop',
'--enable-windows-desktop',
'--enable-linux-desktop', '--enable-linux-desktop',
'--enable-web',
if (localEngine != null) ...<String>['--local-engine', localEngine], if (localEngine != null) ...<String>['--local-engine', localEngine],
], canFail: true); ], canFail: true);
if (configResult != 0) { if (configResult != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment