[Pkg-javascript-commits] [node-bash-match] 04/05: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Nov 7 07:38:32 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-bash-match.

commit 324f667f9593253213d99d71a9e7a7f0bab625d4
Author: Sruthi <srud at disroot.org>
Date:   Mon Nov 7 12:23:13 2016 +0530

    Enable tests
---
 debian/control       | 5 +++++
 debian/rules         | 4 ++--
 debian/tests/control | 3 +++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 4064887..377f8e2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,11 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-is-windows (>= 0.2.0)
+ , node-extend-shallow (>= 2.0.1)
+ , node-cross-spawn (>= 4.0.2)
+ , node-is-extglob (>= 2.0.0)
+ , node-fs-exists-sync (>= 0.1.0)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/bash-match
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-bash-match.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 91e9936..588dfe7 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-bash-match
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bash-match.git



More information about the Pkg-javascript-commits mailing list