[Pkg-javascript-commits] [node-global-modules] 04/06: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Mon Oct 31 10:33:59 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-global-modules.
commit cc7c5c4a0edb2c1ab1d08f96b222c6eeb4e5e6ff
Author: Sruthi <srud at disroot.org>
Date: Mon Oct 31 15:52:42 2016 +0530
Enable tests
---
debian/control | 3 +++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 70539e6..d281cc1 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,9 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-is-windows (>= 0.2.0)
+ , node-global-prefix (>= 0.1.4)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/global-modules
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-global-modules.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 60154b6..9be5c4a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-global-modules
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-global-modules.git
More information about the Pkg-javascript-commits
mailing list