[Pkg-javascript-commits] [node-base] 05/06: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Tue Nov 1 09:38:26 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-base.
commit b857d1b59a9022f4ec8146cc1313e1e528d5a919
Author: Sruthi <srud at disroot.org>
Date: Tue Nov 1 15:02:00 2016 +0530
Enable tests
---
debian/control | 11 +++++++++++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 7f6e9b6..c0cd579 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,17 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-should
+ , node-isobject (>= 2.1.0)
+ , node-component-emitter (>= 1.2.1)
+ , node-class-utils (>= 0.3.4)
+ , node-lazy-cache (>= 2.0.1)
+ , node-mixin-deep (>= 1.1.3)
+ , node-pascalcase (>= 0.1.1)
+ , node-cache-base (>= 0.8.4)
+ , node-define-property (>= 0.2.5)
+ , node-arr-union (>= 3.1.0)
Standards-Version: 3.9.8
Homepage: https://github.com/node-base/base
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-base.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 a357857..096c30d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-base
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-base.git
More information about the Pkg-javascript-commits
mailing list