[Pkg-javascript-commits] [node-through2] 04/08: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat Oct 11 17:26:50 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-through2.

commit e7250c3680887a00d63219263b6ebb4154604d52
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sat Oct 11 19:07:19 2014 +0200

    add autopkgtest suite
---
 debian/control       | 1 +
 debian/tests/control | 2 ++
 debian/tests/require | 3 +++
 3 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index 5c6feab..ee3b7d0 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  , nodejs
 Standards-Version: 3.9.5
 Homepage: https://github.com/rvagg/through2
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-through2.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-through2.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7eff939
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-through2
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..3b3161d
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('through2');"

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



More information about the Pkg-javascript-commits mailing list