[Pkg-javascript-commits] [node-regex-not] 04/05: enable tests
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Oct 27 11:02:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-regex-not.
commit 10ee6c390442244eb2f0170b80325a09ac6ccd9d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Oct 27 16:16:48 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 49b6937..2cc07c3 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/regex-not
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-regex-not.git
diff --git a/debian/rules b/debian/rules
index de57af0..2f607a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
#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 5480be1..476a808 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-regex-not
+
+Test-Command: mocha -R spec
+Depends: @, mocha
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-regex-not.git
More information about the Pkg-javascript-commits
mailing list