[Pkg-javascript-commits] [node-compression] 06/09: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat Oct 11 13:53:13 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-compression.

commit 1f0f0508a3a17e7008b848441a18033e6746b764
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sat Oct 11 14:53:51 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 10947c3..e34948a 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends:
  , node-mocha
 Standards-Version: 3.9.6
 Homepage: https://github.com/expressjs/compression
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-compression.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-compression.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a92c9ef
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-compression
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..8be295e
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('compression');"

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



More information about the Pkg-javascript-commits mailing list