summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test-runner/src/android/test/InstrumentationTestRunner.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-runner/src/android/test/InstrumentationTestRunner.java b/test-runner/src/android/test/InstrumentationTestRunner.java
index 3e9cd9f..4ae98e6 100644
--- a/test-runner/src/android/test/InstrumentationTestRunner.java
+++ b/test-runner/src/android/test/InstrumentationTestRunner.java
@@ -480,8 +480,11 @@ public class InstrumentationTestRunner extends Instrumentation implements TestSu
// needed
mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath);
// also output a more user friendly msg
+ final String currentStream = mResults.getString(
+ Instrumentation.REPORT_KEY_STREAMRESULT);
mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
- String.format("Generated code coverage data to %s", coverageFilePath));
+ String.format("%s\nGenerated code coverage data to %s", currentStream,
+ coverageFilePath));
} catch (ClassNotFoundException e) {
reportEmmaError("Is emma jar on classpath?", e);
} catch (SecurityException e) {