summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-01-31 14:30:25 +0100
committerTobrun <tobrun.van.nuland@gmail.com>2018-02-02 10:54:02 +0100
commit65093fd5ef3c4cb72ef5d1003eb41c6f6187035d (patch)
treeff63dd31fbb8fd39ff908e0a710a2fc1637701bf
parente2a4dffcb627498561d66a304ec668f8242b8342 (diff)
downloadqtlocation-mapboxgl-upstream/tvn-blacklist-flaky-test.tar.gz
[android] - blacklist flaky instrumentation testsupstream/tvn-blacklist-flaky-test
-rw-r--r--circle.yml15
-rw-r--r--platform/android/scripts/exclude-activity-gen.json7
2 files changed, 8 insertions, 14 deletions
diff --git a/circle.yml b/circle.yml
index c7e1e519c7..122d8f3b9a 100644
--- a/circle.yml
+++ b/circle.yml
@@ -339,21 +339,10 @@ jobs:
shell: /bin/bash -euo pipefail
command: |
gcloud firebase test android models list
- (gcloud firebase test android run --type instrumentation \
+ gcloud firebase test android run --type instrumentation \
--app platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/debug/MapboxGLAndroidSDKTestApp-debug.apk \
--test platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/androidTest/debug/MapboxGLAndroidSDKTestApp-debug-androidTest.apk \
- --device-ids sailfish --os-version-ids 26 --locales en --orientations portrait --timeout 20m \
- 2>&1 | tee firebase.log) || EXIT_CODE=$?
-
- FIREBASE_TEST_BUCKET=$(sed -n 's|^.*\[https://console.developers.google.com/storage/browser/\([^]]*\).*|gs://\1|p' firebase.log)
- echo "Downloading from: ${FIREBASE_TEST_BUCKET}"
- gsutil -m cp -n -R -Z "$FIREBASE_TEST_BUCKET*" platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/debug
-
- echo "Try running ndk-stack on downloaded logcat to symbolicate the stacktraces:"
- find platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/debug -type f -name "logcat" -print0 | \
- xargs -0 -I '{}' ${ANDROID_NDK_HOME}/ndk-stack -sym build/android-arm-v7/Debug -dump {}
-
- exit ${EXIT_CODE:-0}
+ --device-ids sailfish --os-version-ids 26 --locales en --orientations portrait --timeout 20m
- store_artifacts:
path: platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/debug
destination: .
diff --git a/platform/android/scripts/exclude-activity-gen.json b/platform/android/scripts/exclude-activity-gen.json
index f05001c6ae..c1a6b5bb48 100644
--- a/platform/android/scripts/exclude-activity-gen.json
+++ b/platform/android/scripts/exclude-activity-gen.json
@@ -27,5 +27,10 @@
"QueryRenderedFeaturesBoxHighlightActivity",
"MultiMapActivity",
"MapInDialogActivity",
- "SimpleMapActivity"
+ "SimpleMapActivity",
+ "ManualZoomActivity",
+ "MaxMinZoomActivity",
+ "ScrollByActivity",
+ "ZoomFunctionSymbolLayerActivity",
+ "SymbolGeneratorActivity"
] \ No newline at end of file