[Pkg-javascript-commits] [node-socket.io-parser] 05/05: enable autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 28 21:15:44 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-socket.io-parser.

commit 36d6dfbed9ea5d1591e3537c979d099ee7fc61fd
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 28 21:12:17 2016 +0000

    enable autopkgtests
---
 debian/rules         | 2 +-
 debian/tests/control | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index fe9695d..2322ce1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ override_dh_auto_build:
 	# Skip upstream Makefile
 
 override_dh_auto_test:
-	mocha --reporter dot --bail test/index.js
+	mocha -R spec test/index.js
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k History.md
diff --git a/debian/tests/control b/debian/tests/control
index 7938e98..6f9d164 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-socket.io-parser
+
+Test-Command: mocha -R spec test/index.js
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list