[Pkg-javascript-commits] [node-extglob] 02/03: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Mon Nov 7 07:20:54 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-extglob.
commit f2806fe6c4c181dcfee398f5897485a3735d5704
Author: Sruthi <srud at disroot.org>
Date: Mon Nov 7 12:44:10 2016 +0530
Enable tests
---
debian/control | 13 +++++++++++++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 3149af2..8c33f0b 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,19 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-multimatch
+ , node-bash-match
+ , node-for-own
+ , node-array-unique (>= 0.2.1)
+ , node-fragment-cache (>= 0.2.0)
+ , node-extend-shallow (>= 2.0.1)
+ , node-define-property (>= 0.2.5)
+ , node-to-regex (>= 2.1.0)
+ , node-expand-brackets (>= 2.0.1)
+ , node-snapdragon (>= 0.8.1)
+ , node-regex-not (>= 1.0.0)
+ , node-debug (>= 2.1.0)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/extglob
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-extglob.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 55c4fea..7d900e1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-extglob
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-extglob.git
More information about the Pkg-javascript-commits
mailing list