diff --git a/.gitignore b/.gitignore index ac8c31999..06c6024eb 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ liblinphone-junit-report.xml liblinphonetester_*.zip libs linphone-android.iml -linphone-junit-report.xml +linphone-junit-report*.xml linphonetester_*.zip lint.xml local.properties diff --git a/tests/Makefile b/tests/Makefile index e8690cb6e..7d83f2617 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -17,11 +17,9 @@ all: clean $(ANT) debug install 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 + $(ANT) test -Dtest.size=small 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 + $(ANT) test -Dtest.size=large if [ ! -s linphone-junit-report.xml ]; then exit 1; fi diff --git a/tests/custom_rules.xml b/tests/custom_rules.xml index 39d0d5358..f429373a2 100644 --- a/tests/custom_rules.xml +++ b/tests/custom_rules.xml @@ -1,60 +1,60 @@ - + - - - - Adb log files are put in ${archive.name}.zip - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Adb log files are put in ${archive.name}.zip + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + +