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

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 17 07:00:48 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-map-visit.

commit a938528b6d6264b13843b8ff144f3eae69ec7de4
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 17 12:26:40 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 a347da3..e1ca617 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,9 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-object-visit (>= 0.3.4)
+ , node-lazy-cache (>= 2.0.1)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/map-visit
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-map-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 9ddc943..b05109a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-map-visit
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list