Fix testers
This commit is contained in:
parent
7636997641
commit
94368c67bd
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue