[Pkg-javascript-commits] [node-hosted-git-info] 06/07: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Oct 18 16:48:41 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-hosted-git-info.

commit 374b21596b1036bc1c1e8d8f69088a8f5e596282
Author: Sruthi <srud at disroot.org>
Date:   Tue Oct 18 22:11:27 2016 +0530

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

diff --git a/debian/control b/debian/control
index 6af7da4..67aba71 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-tap
 Standards-Version: 3.9.8
 Homepage: https://github.com/npm/hosted-git-info
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-hosted-git-info.git
diff --git a/debian/rules b/debian/rules
index de57af0..12fc7d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	tap test/*.js
 
 
diff --git a/debian/tests/control b/debian/tests/control
index ce7665d..df382b2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-hosted-git-info
+
+Test-Command: tap test/*.js
+Depends: @, node-tap

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



More information about the Pkg-javascript-commits mailing list