[Pkg-javascript-commits] [node-object.omit] 04/05: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Tue Nov 1 06:51:22 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-object.omit.
commit a4b91cad941af6eaeae780bfab60f58f16371d49
Author: Sruthi <srud at disroot.org>
Date: Tue Nov 1 12:14:52 2016 +0530
Enable tests
---
debian/control | 4 ++++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 8355112..713600f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,10 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-should
+ , node-for-own (>= 0.1.4)
+ , node-is-extendable (>= 0.1.1)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/object.omit
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-object.omit.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 3836cc7..d84cc2e 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-object.omit
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-object.omit.git
More information about the Pkg-javascript-commits
mailing list