summaryrefslogtreecommitdiff
path: root/next
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2019-12-02 13:29:13 +0200
committerGitHub <noreply@github.com>2019-12-02 13:29:13 +0200
commitb2693f9d539a1f54419cd948cbc5b5f8e2155df7 (patch)
treed94d893106c3bfbf14f4af8137c4e5dc2f94ad63 /next
parent0c348a8acfcbb86c43b0d1764388a0d247b84404 (diff)
downloadqtlocation-mapboxgl-b2693f9d539a1f54419cd948cbc5b5f8e2155df7.tar.gz
[test-runner] Add android RenderTestRunner baseline metrics (#15979)
* [test-runner] Enable probe-testing android render test runner * [test-runner] Add pixel4 baseline metrics * Add git ignored metrics * Make renderTestrunner run two times with different manifest config
Diffstat (limited to 'next')
-rw-r--r--next/platform/android/android.cmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/next/platform/android/android.cmake b/next/platform/android/android.cmake
index dcc12ecb39..0f8dd04315 100644
--- a/next/platform/android/android.cmake
+++ b/next/platform/android/android.cmake
@@ -344,8 +344,14 @@ add_custom_command(
${CMAKE_COMMAND}
-E
copy
- ${MBGL_ROOT}/render-test/android-manifest.json
- ${MBGL_ROOT}/android-manifest.json
+ ${MBGL_ROOT}/render-test/android-manifest-probe-memory.json
+ ${MBGL_ROOT}/android-manifest-probe-memory.json
+ COMMAND
+ ${CMAKE_COMMAND}
+ -E
+ copy
+ ${MBGL_ROOT}/render-test/android-manifest-probe-network-gfx.json
+ ${MBGL_ROOT}/android-manifest-probe-network-gfx.json
COMMAND
${CMAKE_COMMAND}
-E
@@ -362,7 +368,7 @@ add_custom_command(
${CMAKE_COMMAND}
-E
tar
- "cf"
+ "chvf"
"render-test/android/app/src/main/assets/data.zip"
--format=zip
--files-from=render-test/android/app/src/main/assets/to_zip.txt
@@ -375,7 +381,7 @@ add_custom_command(
${CMAKE_COMMAND}
-E
remove
- ${MBGL_ROOT}/android-manifest.json
+ ${MBGL_ROOT}/android-manifest*
WORKING_DIRECTORY ${MBGL_ROOT}
)