summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2017-01-10 20:15:12 +0100
committerGitHub <noreply@github.com>2017-01-10 20:15:12 +0100
commita3b72f3cdb7233e40df6cff90f761d80f8e5d90e (patch)
treedb1bfaffaf754d07d214d6c6e37f427553a03829 /Makefile
parente7778509c546f4d1e0dd73e2d1deceb146c90de2 (diff)
downloadqtlocation-mapboxgl-a3b72f3cdb7233e40df6cff90f761d80f8e5d90e.tar.gz
[android] - add filter to make command to execute one single android instrumentation/unit test (#7657)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1bb7eaf211..79aed8222c 100644
--- a/Makefile
+++ b/Makefile
@@ -573,6 +573,9 @@ run-android: run-android-arm-v7
run-android-unit-test:
cd platform/android && ./gradlew :MapboxGLAndroidSDKTestApp:testDebugUnitTest --continue
+run-android-unit-test-%:
+ cd platform/android && ./gradlew :MapboxGLAndroidSDKTestApp:testDebugUnitTest --tests "$*"
+
.PHONY: run-android-wear-unit-test
run-android-wear-unit-test:
cd platform/android && ./gradlew :MapboxGLAndroidSDKWearTestApp:testDebugUnitTest --continue
@@ -585,6 +588,9 @@ android-ui-test:
run-android-ui-test:
cd platform/android && ./gradlew :MapboxGLAndroidSDKTestApp:connectedAndroidTest -i
+run-android-ui-test-%:
+ cd platform/android && ./gradlew :MapboxGLAndroidSDKTestApp:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.class="$*"
+
.PHONY: run-android-ui-test-aws
run-android-ui-test-aws:
cd platform/android && ./gradlew devicefarmUpload