From 73408ebab89030c7f18670bd6268a40b960cb0d3 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 27 Jan 2015 09:21:09 +0100 Subject: [PATCH] linphone-junit-report.xml should be empty in case of non existing file --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 5aa7f4e0d..81b19aae0 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -11,8 +11,8 @@ all: clean run-basic-tests: all ant test - adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml > linphone-junit-report.xml + adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml 2>/dev/null > linphone-junit-report.xml run-all-tests: all adb shell am instrument -w -e size large org.linphone.test/com.zutubi.android.junitreport.JUnitReportTestRunner - adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml > linphone-junit-report.xml + adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml 2>/dev/null > linphone-junit-report.xml