[Pkg-javascript-commits] [node-is-buffer] 05/06: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 4 06:24:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository node-is-buffer.

commit eb53b9bb0113e6e7dfba193bcf743af7a18be8b5
Author: Pirate Praveen <praveen at debian.org>
Date:   Mon Dec 4 11:28:02 2017 +0530

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

diff --git a/debian/control b/debian/control
index ea544b2..8c134f0 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-tape
 Standards-Version: 4.1.1
 Homepage: https://github.com/feross/is-buffer#readme
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-is-buffer.git
diff --git a/debian/rules b/debian/rules
index de57af0..deed70d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	tape test/*.js
diff --git a/debian/tests/control b/debian/tests/control
index 178c590..d933c16 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-is-buffer
+
+Test-Command: tape test/*.js
+Depends: @, node-tape

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



More information about the Pkg-javascript-commits mailing list