[Pkg-javascript-commits] [node-minimatch] 04/05: Enable testsuite

Bastien Roucariès rouca at moszumanska.debian.org
Sun Aug 13 21:31:46 UTC 2017


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

rouca pushed a commit to branch master
in repository node-minimatch.

commit eea3b7f8225b9132b535930ffecd5d4e44845c9a
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sun Aug 13 22:51:57 2017 +0200

    Enable testsuite
---
 debian/changelog |  1 +
 debian/control   |  1 +
 debian/rules     | 10 ++++++++++
 3 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cc6b081..4ef9a5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ node-minimatch (3.0.4-1) unstable; urgency=medium
   [ Bastien Roucariès ]
   * Bump policy no change
   * Bump compat
+  * Enable testsuite
 
  -- Bastien Roucariès <rouca at debian.org>  Sun, 13 Aug 2017 22:44:56 +0200
 
diff --git a/debian/control b/debian/control
index c198883..ac4ef69 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends:
  , dh-buildinfo
  , dpkg-dev (>= 1.17.14)
  , node-brace-expansion (>= 1.1.7) <!nocheck>
+ , node-tap (>= 8.0) <!nocheck>
 Standards-Version: 4.0.1
 Homepage: https://github.com/isaacs/minimatch
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-minimatch.git
diff --git a/debian/rules b/debian/rules
index 218df65..2f02726 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,3 +6,13 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	tap test/*.js
+else
+	@echo '**********************************************************'
+	@echo 'Skip test suite                                           '
+	@echo '**********************************************************'
+endif
+

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



More information about the Pkg-javascript-commits mailing list