[Pkg-javascript-commits] [node-negotiator] 02/09: enable tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Sep 4 16:36:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-negotiator.
commit 37c882d98d211925f4bb4431045685fa4acb8ac5
Author: Pirate Praveen <praveen at debian.org>
Date: Mon Sep 4 21:43:03 2017 +0530
enable tests
---
debian/control | 1 +
debian/rules | 2 ++
debian/tests/control | 3 +++
3 files changed, 6 insertions(+)
diff --git a/debian/control b/debian/control
index e6442a0..68384ca 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
debhelper (>= 8.0.0)
, dh-buildinfo
, nodejs
+ , nodeunit
Standards-Version: 3.9.6
Homepage: https://github.com/federomero/negotiator
XS-Testsuite: autopkgtest
diff --git a/debian/rules b/debian/rules
index 0c06312..68dbac8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,5 @@
%:
dh $@
+override_dh_auto_test:
+ nodeunit test
diff --git a/debian/tests/control b/debian/tests/control
index 76ce6c0..0eaa997 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-negotiator
+
+Test-Command: nodeunit test
+Depends: @, nodeunit
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-negotiator.git
More information about the Pkg-javascript-commits
mailing list