Verbosify every command in ios_content_validation_test (#88404)
diff --git a/packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart b/packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart index 62a6646..0481fb6 100644 --- a/packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart +++ b/packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart
@@ -29,15 +29,17 @@ 'flutter', ); - processManager.runSync(<String>[ + final ProcessResult createResult = processManager.runSync(<String>[ flutterBin, ...getLocalEngineArguments(), 'create', + '--verbose', '--platforms=ios', '-i', 'objc', 'hello', ], workingDirectory: tempDir.path); + print(createResult.stdout); projectRoot = tempDir.childDirectory('hello').path; }); @@ -57,7 +59,7 @@ File outputAppFrameworkBinary; setUpAll(() { - processManager.runSync(<String>[ + final ProcessResult buildResult = processManager.runSync(<String>[ flutterBin, ...getLocalEngineArguments(), 'build', @@ -68,6 +70,7 @@ '--obfuscate', '--split-debug-info=foo debug info/', ], workingDirectory: projectRoot); + print(buildResult.stdout); buildPath = fileSystem.directory(fileSystem.path.join( projectRoot, @@ -122,6 +125,7 @@ infoPlistPath, ], ); + print(bonjourServices.stdout); final bool bonjourServicesFound = (bonjourServices.stdout as String).contains('_dartobservatory._tcp'); expect(bonjourServicesFound, buildMode == BuildMode.debug); @@ -136,6 +140,7 @@ infoPlistPath, ], ); + print(localNetworkUsage.stdout); final bool localNetworkUsageFound = localNetworkUsage.exitCode == 0; expect(localNetworkUsageFound, buildMode == BuildMode.debug); }); @@ -150,6 +155,7 @@ 'arm64', ], ); + print(symbols.stdout); final bool aotSymbolsFound = (symbols.stdout as String).contains('_kDartVmSnapshot'); expect(aotSymbolsFound, buildMode != BuildMode.debug); }); @@ -191,6 +197,7 @@ // Skip bitcode stripping since we just checked that above. }, ); + print(xcodeBackendResult.stdout); expect(xcodeBackendResult.exitCode, 0); expect(outputFlutterFrameworkBinary.existsSync(), isTrue); @@ -204,6 +211,7 @@ 'hello', outputAppFrameworkBinary.path, ]); + print(grepResult.stdout); expect(grepResult.stdout, isNot(contains('matches'))); }); }); @@ -225,6 +233,7 @@ 'FLUTTER_XCODE_ONLY_ACTIVE_ARCH': 'NO', }, ); + print(buildSimulator.stdout); // This test case would fail if arm64 or x86_64 simulators could not build. expect(buildSimulator.exitCode, 0); @@ -242,6 +251,7 @@ final ProcessResult archs = processManager.runSync( <String>['file', simulatorAppFrameworkBinary.path], ); + print(archs.stdout); expect(archs.stdout, contains('Mach-O 64-bit dynamically linked shared library x86_64')); expect(archs.stdout, contains('Mach-O 64-bit dynamically linked shared library arm64')); });