[Pkg-javascript-commits] [node-isobject] 05/05: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 17 06:19:03 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-isobject.

commit bd066d5cd38ade74aea3b81f7f80b17b61e2a01e
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 17 11:43:42 2016 +0530

    Enable tests
---
 debian/control       | 2 ++
 debian/rules         | 4 ++--
 debian/tests/control | 3 +++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 579e40d..0ef9561 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-isarray (>= 1.0.0)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/isobject
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-isobject.git
diff --git a/debian/rules b/debian/rules
index de57af0..d1b1f99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	mocha
 
 
diff --git a/debian/tests/control b/debian/tests/control
index a88dbd4..924b34c 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-isobject
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list