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

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Oct 16 15:27:01 UTC 2016


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

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

commit 9d37a2677e7fd8085cb87895a2008360e3c266b2
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Oct 16 20:51:47 2016 +0530

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

diff --git a/debian/control b/debian/control
index ec6b946..ed31bd6 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/to-regex-range
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-to-regex-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 ab5a165..9b25aa2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-to-regex-range
+
+Test-Command: mocha
+Depends: @, @builddepends@

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



More information about the Pkg-javascript-commits mailing list