[Pkg-javascript-commits] [node-ipaddr.js] 01/01: add support to autopkgtest
Leo Iannacone
l3on-guest at moszumanska.debian.org
Sat Jul 5 12:15:10 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-ipaddr.js.
commit e546a38433a43b38baed34d0decc321e53487744
Author: Leo Iannacone <l3on at ubuntu.com>
Date: Sat Jul 5 14:14:59 2014 +0200
add support to 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 09f6a27..ee325b9 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
, node-uglify
Standards-Version: 3.9.5
Homepage: https://github.com/whitequark/ipaddr.js
+XS-Testsuite: autopkgtest
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-ipaddr.js.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-ipaddr.js.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b686bc2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-ipaddr.js
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..d69dc9d
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('ipaddr.js');"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ipaddr.js.git
More information about the Pkg-javascript-commits
mailing list