Commit dfad6a2e authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Fix autopkgtest

parent 5d8973bf
This package use git-dpm and git-subtree for components package.
See man git-subtree for how to update subtree
\ No newline at end of file
node-tap-parser (6.0.1+ds1-2) unstable; urgency=medium
* Fix autopkgtest
-- Bastien Roucariès <rouca@debian.org> Fri, 15 Sep 2017 22:03:22 +0200
node-tap-parser (6.0.1+ds1-1) unstable; urgency=medium
* New upstream release.
* Add myself as maitainer
* Add myself as maintainer
-- Bastien Roucariès <rouca@debian.org> Mon, 11 Sep 2017 13:39:11 +0200
......
......@@ -27,6 +27,9 @@ Depends:
Description: Test anything protocol stream parser - Node.js module
This module parses tap-formatted input as a stream of JavaScript
objects.
.
It is mainly used to extend tap reporters in various test setups.
.
This package also include leaf package node-events-to-array.
.
Node.js is an event-based server-side JavaScript engine.
......@@ -22,8 +22,7 @@ MODULES_COMPONENTS=$(foreach component,$(COMPONENTS),$(shell echo $(component) |
%:
dh $@
dh_auto_test_create_node_modules:
rm -rf node_modules
node_modules:
mkdir node_modules
set -e;\
for module in $(COMPONENTS); do \
......@@ -31,7 +30,7 @@ dh_auto_test_create_node_modules:
done
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_test: dh_auto_test_create_node_modules
override_dh_auto_test: node_modules
(cd module-events-to-array && tap test/*.js)
tap test/*.js
else
......@@ -55,7 +54,7 @@ override_dh_installdocs:
cp -f module-events-to-array/README.md debian/node-tap-parser/usr/share/doc/node-events-to-array/
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_installman:
override_dh_installman: node_modules
help2man --no-discard-stderr -N -n "Test-Anything-Protocol parser for Node.js" ./bin/cmd.js -o debian/tap-parser.1
dh_installman
else
......@@ -81,10 +80,6 @@ override_dh_auto_clean:
rm -f debian/tap-parser.1
rm -rf node_modules
# manual
override_dh_components:
dh_components --build_stages " "
debian/copyright: debian/components/copyright $(COPYRIGHT_COMPONENTS_FILES) debian/components/copyright.license
cat debian/components/copyright $(COPYRIGHT_COMPONENTS_FILES) debian/components/copyright.license > debian/copyright
......
Tests: require
Depends: @
Depends: node-tap-parser, nodejs (>= 6)
Tests: runtestsuite-tap-parser
Depends: node-tap-parser, node-tap (>= 8), node-glob (>= 7)
......
#!/bin/sh
set -e
nodejs -e "require('tap-parser');"
nodejs -e "require('events-to-array');"
\ No newline at end of file
node -e "require('tap-parser');"
node -e "require('events-to-array');"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment