[Pkg-javascript-commits] [node-connect-timeout] 08/11: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Fri Oct 10 14:47:12 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-connect-timeout.

commit 4b5f571cb10fda3ac2962bc483c6d192161421e6
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Fri Oct 10 16:35:26 2014 +0200

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

diff --git a/debian/control b/debian/control
index 542fa86..42ec75c 100644
--- a/debian/control
+++ b/debian/control
@@ -8,12 +8,12 @@ Build-Depends:
  , dh-buildinfo
  , nodejs
  , node-debug
- , node-connect
  , node-should
  , node-mocha
  , node-supertest
 Standards-Version: 3.9.6
 Homepage: https://github.com/expressjs/timeout
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-connect-timeout.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-connect-timeout.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2911aa9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-connect-timeout
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..c061c4f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('connect-timeout');"

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



More information about the Pkg-javascript-commits mailing list