Commit 3839b9b7 authored by Xavier Guimard's avatar Xavier Guimard

Enable bson tests

parent 046e06bb
This diff is collapsed.
remove-privacy-leak.patch
remove-dependency-versions.patch
import-bson-tests.patch
......@@ -8,23 +8,13 @@
dh $@
override_dh_auto_build:
mkdir -p node_modules
cd bson && dh_auto_build $@; cd -
ln -s bson node_modules/bson
#cd mongodb-core && dh_auto_build $@; cd -
#ln -s mongodb-core node_modules/mongodb-core
#dh_auto_build
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd requireoptional && mocha; cd -
cd bson && mocha ./test/node; cd -
cd requireoptional && mkdir node_modules && cd node_modules && ln -s ../../bson && cd - && mocha
rm -rf requireoptional/node_modules
cd bson && mocha ./test/node
endif
override_dh_installchangelogs:
dh_installchangelogs -k HISTORY.md
override_dh_auto_clean:
dh_auto_clean
rm -f node_modules/bson node_modules/mongodb-core
rmdir node_modules || true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment