[Pkg-javascript-commits] [node-collection-visit] 06/06: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 17 12:54:43 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-collection-visit.

commit 3bbe59eb48409737e251eb1909c9d2a3f2481dad
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 17 18:21:51 2016 +0530

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

diff --git a/debian/control b/debian/control
index 256f464..78d805b 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,10 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-object-visit (>= 0.3.4)
+ , node-lazy-cache (>= 2.0.1)
+ , node-map-visit (>= 0.1.5)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/collection-visit
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-collection-visit.git
diff --git a/debian/rules b/debian/rules
index de57af0..d1b1f99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	mocha
 
 
diff --git a/debian/tests/control b/debian/tests/control
index dd7012e..89cac64 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-collection-visit
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list