Unverified Commit f1e4018b authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

[flutter_tools] explicitly enable macos-desktop in macos_content_validation_test.dart (#102009)

parent 22630de1
......@@ -13,8 +13,23 @@ import '../src/common.dart';
import '../src/darwin_common.dart';
void main() {
final String flutterBin = fileSystem.path.join(
getFlutterRoot(),
'bin',
'flutter',
);
setUpAll(() {
processManager.runSync(<String>[
flutterBin,
'config',
'--enable-macos-desktop',
]);
});
for (final String buildMode in <String>['Debug', 'Release']) {
final String buildModeLower = buildMode.toLowerCase();
test('flutter build macos --$buildModeLower builds a valid app', () {
final String workingDirectory = fileSystem.path.join(
getFlutterRoot(),
......@@ -22,11 +37,6 @@ void main() {
'integration_tests',
'flutter_gallery',
);
final String flutterBin = fileSystem.path.join(
getFlutterRoot(),
'bin',
'flutter',
);
processManager.runSync(<String>[
flutterBin,
......
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