Windshaft-cartodb/Makefile
Sandro Santilli 369b0f6110 Ignore variable leaks exposed by server.js test (due to LZMA mod)
This will have to be fixed once LZMA module is updated.
See https://github.com/nmrugg/LZMA-JS/issues/8

With this change "make check-full" completes successfully for me.
Looking forward to Jenkins experience.
2013-04-12 11:52:09 +02:00

30 lines
802 B
Makefile

all:
npm install
clean:
rm -rf node_modules/*
config/environments/test.js: config/environments/test.js.example
./configure
check-local: config/environments/test.js
./run_tests.sh --nodrop ${RUNTESTFLAGS} \
test/unit/cartodb/redis_pool.test.js \
test/unit/cartodb/req2params.test.js \
test/acceptance/cache_validator.js \
test/acceptance/multilayer.js
# FIXME: LZMA module leaks a variable, waiting for new release
# https://github.com/nmrugg/LZMA-JS/issues/8
MOCHA_OPTS="--ignore-leaks" ./run_tests.sh --nocreate ${RUNTESTFLAGS} \
test/acceptance/server.js \
check-submodules:
for sub in windshaft grainstore mapnik; do \
test -e node_modules/$${sub} && make -C node_modules/$${sub} check; \
done
check-full: check-local check-submodules
check: check-local