[Pkg-javascript-commits] [node-browserify-zlib] 27/33: Fix testsuite

Bastien Roucariès rouca at moszumanska.debian.org
Fri Apr 14 16:24:32 UTC 2017


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

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

commit c966d18ffb4679db5700587c927941b8fc1edc69
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Apr 13 19:31:07 2017 +0200

    Fix testsuite
---
 debian/TODO    |  1 +
 debian/control |  4 ++++
 debian/rules   | 13 +++++++++----
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index 6ae1227..92f0e99 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1 +1,2 @@
 + this project was forked under browserify-zlib-next that is better maint but depends is huge and need babel
++ imagemagick is a little bit too strong
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 405bc8c..4daa266 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,10 @@ Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
  , nodejs (>= 4.7)
+ , dpkg-dev (>= 1.17.14)
+ , node-tape <!nocheck>
+ , node-pako (>= 0.2.0) <!nocheck>
+ , imagemagick <!nocheck>
 Standards-Version: 3.9.8
 Homepage: https://github.com/devongovett/browserify-zlib
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browserify-zlib.git
diff --git a/debian/rules b/debian/rules
index de57af0..153391c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,12 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	convert :rose test/fixture/person.jpg
+	tape 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-browserify-zlib.git



More information about the Pkg-javascript-commits mailing list