[Pkg-javascript-commits] [node-cache-base] 04/06: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 31 11:19:26 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-cache-base.

commit a6926f3950b8ef60d4ab4d1d6575ae0d44d4c0a8
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 31 16:37:25 2016 +0530

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

diff --git a/debian/control b/debian/control
index fb6bc7a..04a46c4 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,17 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-set-value (>= 0.3.3)
+ , node-lazy-cache (>= 2.0.1)
+ , node-has-value (>= 0.3.1)
+ , node-get-value (>= 2.0.5)
+ , node-component-emitter (>= 1.2.1)
+ , node-collection-visit (>= 0.2.1)
+ , node-to-object-path (>= 0.3.0)
+ , node-union-value (>= 0.2.3)
+ , node-isobject (>= 2.1.0)
+ , node-unset-value (>= 0.1.1)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/cache-base
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-cache-base.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 053d367..1eb9ec8 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-cache-base
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list