Index: tests/standalone/full_coverage_test.dart |
diff --git a/tests/standalone/full_coverage_test.dart b/tests/standalone/full_coverage_test.dart |
index 05a264521d1f3e63aa9064b6a1a8f081269a00bd..2ee19792c30154304b61e0040df56788bb3ed14b 100644 |
--- a/tests/standalone/full_coverage_test.dart |
+++ b/tests/standalone/full_coverage_test.dart |
@@ -93,7 +93,11 @@ generateCoverage(String workingDirectory) { |
var dartArgs = new List.from(dartBaseArgs) |
..addAll(['--coverage-dir=${progPath}', '${script}']); |
var result = Process.runSync(Platform.executable, dartArgs); |
- expect(result.exitCode, 0); |
+ if (result.exitCode != 0) { |
+ print("Coverage generator returned exitCode: ${result.exitCode}."); |
+ print("stderr:\n${result.stderr}\n"); |
+ expect(result.exitCode, 0); |
+ } |
} |
} |