[Pkg-javascript-commits] [node-glob-parent] 05/06: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Tue Oct 18 09:47:52 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-glob-parent.
commit 6509b6ae1c61324837b9f8fb4c4633c5312b5a68
Author: Sruthi <srud at disroot.org>
Date: Tue Oct 18 15:12:20 2016 +0530
Enable tests
---
debian/control | 2 ++
debian/rules | 3 ++-
debian/tests/control | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 1f6ed30..3be929f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-is-glob (>= 3.0.0)
Standards-Version: 3.9.8
Homepage: https://github.com/es128/glob-parent
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-glob-parent.git
diff --git a/debian/rules b/debian/rules
index de57af0..03942f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,8 @@
#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 9c98f6a..10ee1a9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-glob-parent
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-glob-parent.git
More information about the Pkg-javascript-commits
mailing list