summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: