[Pkg-javascript-commits] [node-fill-range] 05/07: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 17 15:06:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository node-fill-range.

commit 869b171e240dce4b029484015ea09ace59c5fa2c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 17 20:31:49 2016 +0530

    enable tests
---
 debian/control       | 5 +++++
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 92ba7cb..1d1a765 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,11 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-repeat-string (>= 1.5.4~)
+ , node-to-regex-range (>= 0.2.0~)
+ , node-is-number (>= 3.0.0~)
+ , node-extend-shallow (>= 2.0.1~)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/fill-range
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-fill-range.git
diff --git a/debian/rules b/debian/rules
index de57af0..3170fba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha
diff --git a/debian/tests/control b/debian/tests/control
index 442c03a..92335a4 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-fill-range
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list