[Pkg-javascript-commits] [node-resolve-dir] 04/05: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Tue Nov 1 07:03:40 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-resolve-dir.
commit 9809f87a278d659bf5efd0c84db550a9c75b2037
Author: Sruthi <srud at disroot.org>
Date: Tue Nov 1 12:27:10 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 4e5c005..e705da2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,9 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-expand-tilde (>= 2.0.0)
+ , node-global-modules (>= 0.2.3)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/resolve-dir
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-resolve-dir.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 bac43b4..4b6d349 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-resolve-dir
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-resolve-dir.git
More information about the Pkg-javascript-commits
mailing list