[Pkg-javascript-commits] [node-errorhandler] 01/01: add support to autopkgtest test suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Fri Jul 4 10:47:32 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-errorhandler.

commit bbb0a7e9d426d3916fbae02142a112ffa2f1588a
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Fri Jul 4 12:47:00 2014 +0200

    add support to autopkgtest test 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 6431193..1786469 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends:
  , node-supertest
 Standards-Version: 3.9.5
 Homepage: https://github.com/expressjs/errorhandler
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-errorhandler.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-errorhandler.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7d743d1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-errorhandler
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..28d1c31
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('errorhandler');"

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



More information about the Pkg-javascript-commits mailing list