[Pkg-javascript-commits] [node-requireindex] 01/01: add autopkgtest

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Thu Jul 3 23:58:56 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-requireindex.

commit 0479d838c9f2fff5c85b29432db8e87f4cb9ec67
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Thu Jul 3 23:58:53 2014 +0000

    add autopkgtest
---
 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 a6678cd..1a158ef 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Standards-Version: 3.9.5
 Homepage: https://github.com/stephenhandley/requireindex
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-requireindex.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-requireindex.git
+XS-Testsuite: autopkgtest
 
 Package: node-requireindex
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e7bb1e4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-requireindex
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..af2318c
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('requireindex');"

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



More information about the Pkg-javascript-commits mailing list