summaryrefslogtreecommitdiff
path: root/next
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2019-12-04 18:10:58 +0200
committerGitHub <noreply@github.com>2019-12-04 18:10:58 +0200
commite619552a5df5fdfa3c95efa0959ff2da20eac452 (patch)
tree3974202bcb6db6ed097141b3f5b153678a2a648b /next
parent1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf (diff)
downloadqtlocation-mapboxgl-e619552a5df5fdfa3c95efa0959ff2da20eac452.tar.gz
[test-runner] Make Android RenderTestRunner bot fail when test cases are not fully passed (#15994)
* [test-runner] Fix failed tests, generate android specific expectations * [test-runner] Check render test runner testing result * [test-runner] Add error case to android ignore list * [test-runner] Update metrics * [test-runner] Move Android render tests with big diff(>0.006) to ignore list
Diffstat (limited to 'next')
-rw-r--r--next/platform/android/android.cmake15
1 files changed, 2 insertions, 13 deletions
diff --git a/next/platform/android/android.cmake b/next/platform/android/android.cmake
index 0f8dd04315..29bc9c1326 100644
--- a/next/platform/android/android.cmake
+++ b/next/platform/android/android.cmake
@@ -357,29 +357,18 @@ add_custom_command(
-E
copy
${MBGL_ROOT}/platform/node/test/ignores.json
- ${MBGL_ROOT}/ignores/ignores.json
- COMMAND
- ${CMAKE_COMMAND}
- -E
- copy
- ${MBGL_ROOT}/render-test/linux-ignores.json
- ${MBGL_ROOT}/ignores/linux-ignores.json
+ ${MBGL_ROOT}/render-test/ignores/ignores.json
COMMAND
${CMAKE_COMMAND}
-E
tar
- "chvf"
+ "chf"
"render-test/android/app/src/main/assets/data.zip"
--format=zip
--files-from=render-test/android/app/src/main/assets/to_zip.txt
COMMAND
${CMAKE_COMMAND}
-E
- remove_directory
- ${MBGL_ROOT}/ignores
- COMMAND
- ${CMAKE_COMMAND}
- -E
remove
${MBGL_ROOT}/android-manifest*
WORKING_DIRECTORY ${MBGL_ROOT}