[Pkg-javascript-commits] [node-class-utils] 05/07: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Fri Oct 28 07:45:21 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-class-utils.
commit 9534f94605c4f7eeeb13ce87c622076889455efb
Author: Sruthi <srud at disroot.org>
Date: Fri Oct 28 12:59:14 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 2facf92..0938329 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,12 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-isobject (>= 2.0.0)
+ , node-static-extend (>= 0.1.1)
+ , node-define-property (>= 0.2.5)
+ , node-arr-union (>= 3.1.0)
+ , node-lazy-cache (>= 1.0.3)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/class-utils
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-class-utils.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 348ec1b..44a69cb 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-class-utils
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-class-utils.git
More information about the Pkg-javascript-commits
mailing list