[Pkg-javascript-commits] [node-jsonstream] 03/06: Fix testsuite
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Apr 16 22:14:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-jsonstream.
commit 28aa392f995dd8b336ab4cda0cf85bce809822ee
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Sat Apr 15 17:09:07 2017 +0200
Fix testsuite
---
debian/changelog | 2 +-
debian/control | 1 +
debian/rules | 2 +-
debian/tests/control | 2 +-
debian/tests/runtestsuite | 2 +-
5 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c175557..1d86a37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
node-jsonstream (1.0.3-2) unstable; urgency=high
* Team upload
- * Fix install in wrong dir
+ * Fix install in wrong dir (Closes: #860382).
* Run test suite in order to avoid this kind of errors.
-- Bastien Roucariès <rouca at debian.org> Sat, 15 Apr 2017 16:41:18 +0200
diff --git a/debian/control b/debian/control
index 61cb928..0930b26 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
, node-through (>= 2.2.7) <!nocheck>
, node-through (<< 3) <!nocheck>
, node-jsonparse (>= 1.0.0) <!nocheck>
+ , node-tape (>= 2.12.3) <!nocheck>
Standards-Version: 3.9.8
Homepage: http://github.com/dominictarr/JSONStream
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-jsonstream.git
diff --git a/debian/rules b/debian/rules
index 8490c46..ba7aa87 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ TEST_FILE=test/browser.js test/map.js test/null.js
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; for TEST in $(TEST_FILE); do \
- tap $$TEST;\
+ tape $$TEST;\
done
else
@echo '**********************************************************'
diff --git a/debian/tests/control b/debian/tests/control
index b7ff1ed..6b9b97d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,4 +2,4 @@ Tests: require
Depends: node-jsonstream
Tests: runtestsuite
-Depends: node-jsonstream
+Depends: node-jsonstream, node-tape (>= 2.12.3)
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index 9dcc9e0..b576bbd 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -14,5 +14,5 @@ find test -maxdepth 1 -name '*.js' -print0 | \
# this test write to stderr redirect to stdout
for TEST in test/browser.js test/map.js test/null.js; do
- tap $TEST;
+ tape $TEST;
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git
More information about the Pkg-javascript-commits
mailing list