[Pkg-javascript-commits] [ltx] 39/80: Enable regression testing (except currently failing parse-test.js). Build-depend on node-node-expat and node-vows.
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 10:50:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ltx.
commit 6a272099b58bf35dd373710ce4d39c82068aa8c6
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Dec 22 21:47:03 2011 +0700
Enable regression testing (except currently failing parse-test.js). Build-depend on node-node-expat and node-vows.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index bb04b62..86b6bed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
libpkgname = node-ltx
+CDBS_BUILD_DEPENDS += , node-node-expat, node-vows
+
# suppress optional build-dependencies
CDBS_BUILD_DEPENDS_rules_upstream-tarball =
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
@@ -31,4 +33,8 @@ DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
DEB_UPSTREAM_TARBALL_MD5 = fe5aaa8236b0ff0a8c27c192ccaed1bb
+# TODO: Simply do "vows --spec" when upstream issue#6 is solved
+build/$(libpkgname)::
+ $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,find test -type f -name '*.js' -not -name parse-test.js -exec vows '{}' +)
+
DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git
More information about the Pkg-javascript-commits
mailing list