[Pkg-javascript-commits] [node-command-join] 06/07: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Sat Dec 24 08:54:39 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-command-join.

commit 3a4ce6b4b7f119fcbff0c60939841b11e5e4f2d3
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Dec 24 08:45:21 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index c03ab63..0c4d41d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,5 @@ override_dh_auto_build:
 	mkdir -p dist
 	cp command-join.js dist/.
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha test/nix.test.js -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 804870a..43d8564 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-command-join
+
+Test-Command: mocha test/nix.test.js -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list