[Pkg-javascript-commits] [node-map-cache] 05/08: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Oct 18 07:06:03 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-cache.

commit 449ee1ea8ae0083a22281df2bdfba5887455de1b
Author: Sruthi <srud at disroot.org>
Date:   Tue Oct 18 12:08:36 2016 +0530

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

diff --git a/debian/control b/debian/control
index 4de6e76..e713793 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/map-cache
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-map-cache.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 46c9629..c776dec 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-map-cache
+
+Test-Command: mocha
+Depends: @, mocha

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



More information about the Pkg-javascript-commits mailing list