[Pkg-javascript-commits] [node-debug] 01/01: add autopkgtest to require debug module

Leo Iannacone l3on-guest at moszumanska.debian.org
Thu Jul 3 08:47:56 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-debug.

commit d291750004417da5af9ef2d42a9d41d943771b15
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Thu Jul 3 10:47:50 2014 +0200

    add autopkgtest to require debug module
---
 debian/changelog     | 7 +++++++
 debian/control       | 1 +
 debian/tests/control | 2 ++
 debian/tests/require | 3 +++
 4 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index adf9922..45cb486 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-debug (0.8.1-2) UNRELEASED; urgency=medium
+
+  * Enable autopkgtest test suite:
+    + add test to require debug module
+
+ -- Leo Iannacone <l3on at ubuntu.com>  Thu, 03 Jul 2014 10:45:50 +0200
+
 node-debug (0.8.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 0770b2a..6b1b1e1 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Standards-Version: 3.9.5
 Homepage: https://github.com/visionmedia/debug
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-debug.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-debug.git
+XS-Testsuite: autopkgtest
 
 Package: node-debug
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..30a7fc0
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-debug
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..19bf161
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('debug');"

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



More information about the Pkg-javascript-commits mailing list