[Pkg-javascript-commits] [node-convert-source-map] 04/11: Enable test suite

Bastien Roucariès rouca at moszumanska.debian.org
Sun Apr 16 17:39:26 UTC 2017


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

rouca pushed a commit to branch master
in repository node-convert-source-map.

commit 8be92d3b0c7c971569f8b39861e055aaf3eaf71a
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sun Apr 16 15:32:26 2017 +0200

    Enable test suite
---
 debian/changelog | 3 ++-
 debian/control   | 6 ++++--
 debian/rules     | 9 +++++++++
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 498cc38..07dfa83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ node-convert-source-map (1.5.0-1) unstable; urgency=medium
   * Team upload.
   * New upstream version (Closes: #859098).
     Needed for browserify.
+  * Enable testsuite (Closes: #818319).
 
- -- Bastien Roucariès <rouca at debian.org>  Sun, 16 Apr 2017 15:29:29 +0200
+ -- Bastien Roucariès <rouca at debian.org>  Sun, 16 Apr 2017 15:33:49 +0200
 
 node-convert-source-map (1.2.0-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 6ad6681..7843545 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@ Section: web
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-buildinfo,
-               nodejs
+               nodejs (>= 4.7)
+	       , dpkg-dev (>= 1.17.14)
+               , node-tap <!nocheck>
 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-convert-source-map.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-convert-source-map.git
@@ -14,7 +16,7 @@ Homepage: https://github.com/thlorenz/convert-source-map
 Package: node-convert-source-map
 Architecture: all
 Depends: ${misc:Depends},
-         nodejs
+         nodejs (>= 4.7)
 Description: Converts a source-map from/to between formats
  Converts a source-map from/to different formats and allows adding/changing
  the properties.
diff --git a/debian/rules b/debian/rules
index 742ca66..5860fb3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,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-convert-source-map.git



More information about the Pkg-javascript-commits mailing list