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-30 16:44:08 +0300
commitf3b75530a9e452ab68f569c1cac2690b5b8bc397 (patch)
tree400d4a9bb4b367b2817f894acab4558a08b5e90c
parentff9a22fbf6a1dfac6624db5f4190aa58f2416196 (diff)
downloadqtlocation-mapboxgl-upstream/node-test-render-recycle-map.tar.gz
[test] Enable render tests recycling the map object in node6-clang39-debugupstream/node-test-render-recycle-map
-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: