diff options
author | langsmith <langstonlmcs@gmail.com> | 2019-03-07 17:08:48 -0800 |
---|---|---|
committer | langsmith <langstonlmcs@gmail.com> | 2019-03-12 18:21:47 -0700 |
commit | 975936f370cb17811e388105c9066c8a2c7ad6a0 (patch) | |
tree | f9d7fa7edd5e28abb897efefb51d2720f6dcb7dd /Makefile | |
parent | 565792606d5d03d0cc9889f112bb50345c899005 (diff) | |
download | qtlocation-mapboxgl-975936f370cb17811e388105c9066c8a2c7ad6a0.tar.gz |
[android] initial android code coverage additionsupstream/ls-adding-android-code-cov
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -731,6 +731,16 @@ android-check : android-checkstyle android-lint-sdk android-lint-test-app android-checkstyle: platform/android/gradle/configuration.gradle cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDK:checkstyle :MapboxGLAndroidSDKTestApp:checkstyle +# Runs unit test code coverage on the Android code +.PHONY: android-unit-test-code-coverage +android-unit-test-code-coverage: platform/android/gradle/configuration.gradle + cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all clean :MapboxGLAndroidSDK:jacocoTestReportDebug + +# Runs unit test code coverage on the Android code +.PHONY: android-code-coverage-report-to-text-file +android-code-coverage-report-to-text-file: platform/android/gradle/configuration.gradle + textutil -convert txt platform/android/MapboxGLAndroidSDK/build/reports/jacoco/debug/index.html + # Runs lint on the Android SDK code .PHONY: android-lint-sdk android-lint-sdk: platform/android/gradle/configuration.gradle |