summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-08-28 18:43:21 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-08-31 10:17:21 +0300
commit0694d224c745ea5ee5eb1fc46cbb0b9487e6333a (patch)
tree83545a7b40531881db9cfc448c4ef1ae24a762ec
parentcfcf38053e1535c8a03a53166f5846e848a35450 (diff)
downloadqtlocation-mapboxgl-0694d224c745ea5ee5eb1fc46cbb0b9487e6333a.tar.gz
[test] Enable render tests recycling the map object in node6-clang39-debug
-rw-r--r--Makefile6
-rw-r--r--circle.yml14
2 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e96c2d251e..ab0b36658c 100644
--- a/Makefile
+++ b/Makefile
@@ -440,6 +440,12 @@ test-node: node
npm test
npm run test-suite
+.PHONY: test-node-recycle-map
+test-node-recycle-map: node
+ npm test
+ npm run test-render -- --recycle-map
+ npm run test-query
+
#### Android targets ###########################################################
MBGL_ANDROID_ABIS = arm-v5;armeabi
diff --git a/circle.yml b/circle.yml
index 52d1c66787..58c431a41d 100644
--- a/circle.yml
+++ b/circle.yml
@@ -96,6 +96,12 @@ step-library:
command: |
xvfb-run --server-args="-screen 0 1024x768x24" \
logbt -- apitrace trace --api=egl -v make test-node
+ - &run-node-tests-recycle-map
+ run:
+ name: Run node tests (recycling the map object)
+ command: |
+ xvfb-run --server-args="-screen 0 1024x768x24" \
+ logbt -- apitrace trace --api=egl -v make test-node-recycle-map
- &run-unit-tests
run:
name: Run tests
@@ -115,6 +121,10 @@ step-library:
store_artifacts:
path: mapbox-gl-js/test/integration/render-tests/index.html
destination: render-tests
+ - &upload-render-tests-recycle-map
+ store_artifacts:
+ path: mapbox-gl-js/test/integration/render-tests/index-recycle-map.html
+ destination: render-tests
jobs:
# ------------------------------------------------------------------------------
@@ -344,9 +354,9 @@ jobs:
- *build-node
- *show-ccache-stats
- *save-cache
- - *run-node-tests
+ - *run-node-tests-recycle-map
- *publish-node-package
- - *upload-render-tests
+ - *upload-render-tests-recycle-map
# ------------------------------------------------------------------------------
linux-clang39-debug: