This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +11
-5
lines changed 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,9 @@ void _ensureSimulatorsRotateAutomaticallyForPlatformViewRotationTest() {
281
281
}
282
282
283
283
void _deleteAnyExistingDevices ({required String deviceName}) {
284
- io.stderr
285
- .writeln ('Deleting any existing simulator devices named $deviceName ...' );
284
+ io.stderr.writeln (
285
+ 'Deleting any existing simulator devices named $deviceName ...' ,
286
+ );
286
287
287
288
bool deleteSimulator () {
288
289
final result = io.Process .runSync (
@@ -334,8 +335,9 @@ void _createDevice({
334
335
));
335
336
336
337
// Create a temporary directory to store the test results.
337
- final result =
338
- io.Directory (scenarioPath).createTempSync ('ios_scenario_xcresult' );
338
+ final result = io.Directory (scenarioPath).createTempSync (
339
+ 'ios_scenario_xcresult' ,
340
+ );
339
341
return (scenarioPath, result);
340
342
}
341
343
@@ -387,7 +389,11 @@ String _zipAndStoreFailedTestResults({
387
389
],
388
390
);
389
391
if (result.exitCode != 0 ) {
390
- throw Exception ('Failed to zip the test results: ${result .stderr }' );
392
+ throw Exception (
393
+ 'Failed to zip the test results (exit code = ${result .exitCode }).\n\n '
394
+ 'Stderr: ${result .stderr }\n\n '
395
+ 'Stdout: ${result .stdout }' ,
396
+ );
391
397
}
392
398
return outputPath;
393
399
}
You can’t perform that action at this time.
0 commit comments