[Pkg-javascript-commits] [node-expat] 91/371: Run regression tests during build. Build-depend on libnode-vows.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit b78d656f3259592fd5658075e7df256906f8898b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Aug 21 11:07:15 2011 +0200

    Run regression tests during build. Build-depend on libnode-vows.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9b8ec8c..36c08ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 
 libpkgname = libnode-node-expat
 
-CDBS_BUILD_DEPENDS += , nodejs-dev (>= 0.2.6), libexpat-dev
+CDBS_BUILD_DEPENDS += , nodejs-dev (>= 0.2.6), libexpat-dev, libnode-vows
 
 # suppress optional build-dependencies
 CDBS_BUILD_DEPENDS_rules_upstream-tarball =
@@ -34,13 +34,13 @@ DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
 DEB_UPSTREAM_TARBALL_MD5 = 81b84d4026344406896907f3a44e6fed
 
 DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
-DEB_INSTALL_EXAMPLES_$(libpkgname) += test.js
 
 configure/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf configure
 
 build/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf build
+	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node test.js)
 
 install/$(libpkgname)::
 	NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list