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

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Jul 4 00:05:15 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-ncp.

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

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



More information about the Pkg-javascript-commits mailing list