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

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Jul 4 00:03:02 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-bindings.

commit f2a23ed6af0a6c08d003a0f87c19790fc8a9cbac
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Fri Jul 4 00:02: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 c573565..fecfb0e 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Standards-Version: 3.9.5
 Homepage: https://github.com/TooTallNate/node-bindings
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-bindings.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-bindings.git
+XS-Testsuite: autopkgtest
 
 Package: node-bindings
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..da0913a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-bindings
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..7383294
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('bindings');"

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



More information about the Pkg-javascript-commits mailing list