[Pkg-javascript-commits] [node-use] 05/06: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Oct 25 17:38:06 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-use.

commit 0283b1f3234a1687d7f6f5246e57544f48bca719
Author: Sruthi <srud at disroot.org>
Date:   Tue Oct 25 23:00:12 2016 +0530

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

diff --git a/debian/control b/debian/control
index 84c6ef3..9d54627 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,12 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-extend-shallow
+ , node-isobject (>= 2.1.0)
+ , node-isarray (>= 1.0.0)
+ , node-lazy-cache (>= 2.0.1)
+ , node-define-property (>= 0.2.5)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/use
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-use.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 6e15d89..87f7fd4 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-use
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list