Fix testers

This commit is contained in:
Erwan Croze 2016-11-09 14:40:32 +01:00
parent 7636997641
commit 94368c67bd
3 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,10 @@
ANDROID_MOST_RECENT_TARGET=$(shell android list target -c | grep -E 'android-[0-9]+' | tail -n1) ANDROID_MOST_RECENT_TARGET=$(shell android list target -c | grep -E 'android-[0-9]+' | tail -n1)
SDK_PLATFORM_TOOLS_PATH=$(shell dirname `which adb`)
all: update-project copy-files all: update-project copy-files
ant debug install ant clean debug
$(SDK_PLATFORM_TOOLS_PATH)/adb install -g bin/liblinphone_tester-debug.apk
#$(SDK_PLATFORM_TOOLS_PATH)/adb install -g ../bin/Linphone-debug.apk
run-all-tests: all run-all-tests: all
ant test ant test

View file

@ -14,7 +14,9 @@ clean:
$(SDK_PATH)/android update test-project --path . -m ../ $(SDK_PATH)/android update test-project --path . -m ../
all: clean all: clean
$(ANT) debug install ant clean debug
$(SDK_PLATFORM_TOOLS_PATH)/adb install -g bin/LinphoneTest-debug.apk
$(SDK_PLATFORM_TOOLS_PATH)/adb install -g ../bin/Linphone-debug.apk
run-basic-tests: all run-basic-tests: all
ant -e test -Dtest.size=small ant -e test -Dtest.size=small

View file

@ -15,5 +15,5 @@
# 'key.alias' for the name of the key to use. # 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target. # The password will be asked during the build when you use the 'release' target.
tested.project.dir=. tested.project.dir=../
test.runner=com.zutubi.android.junitreport.JUnitReportTestRunner test.runner=com.zutubi.android.junitreport.JUnitReportTestRunner