[Pkg-javascript-commits] [node-has-value] 05/05: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Tue Oct 25 12:18:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository node-has-value.
commit 217df6b9dea311f8622e17514941c258b1bed61d
Author: Sruthi <srud at disroot.org>
Date: Tue Oct 25 17:38:17 2016 +0530
Enable tests
---
debian/control | 4 ++++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 51cef3e..6dbd747 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,10 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-has-values (>= 0.1.4)
+ , node-get-value (>= 2.0.3)
+ , node-isobject (>= 2.0.0)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/has-value
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-has-value.git
diff --git a/debian/rules b/debian/rules
index de57af0..9eb6b18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
#override_dh_auto_build:
-#override_dh_auto_test:
-
+override_dh_auto_test:
+ mocha -R spec
diff --git a/debian/tests/control b/debian/tests/control
index b59b55d..5751cb1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-has-value
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-has-value.git
More information about the Pkg-javascript-commits
mailing list