diff --git a/tests/Makefile b/tests/Makefile index 81b19aae0..b533fb07d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -12,7 +12,9 @@ all: clean run-basic-tests: all ant test adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml 2>/dev/null > linphone-junit-report.xml + if [ ! -s linphone-junit-report.xml ]; then exit 1; fi 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 2>/dev/null > linphone-junit-report.xml + if [ ! -s linphone-junit-report.xml ]; then exit 1; fi