Actually in case of any error, the file should be empty AND makefile should return error code 1
This commit is contained in:
parent
73408ebab8
commit
a6dfd45140
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@ all: clean
|
||||||
run-basic-tests: all
|
run-basic-tests: all
|
||||||
ant test
|
ant test
|
||||||
adb shell run-as org.linphone cat /data/data/org.linphone/files/junit-report.xml 2>/dev/null > 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
|
||||||
|
if [ ! -s linphone-junit-report.xml ]; then exit 1; fi
|
||||||
|
|
||||||
run-all-tests: all
|
run-all-tests: all
|
||||||
adb shell am instrument -w -e size large org.linphone.test/com.zutubi.android.junitreport.JUnitReportTestRunner
|
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue