[Pkg-javascript-commits] [node-policyfile] 15/17: autopkgtest: Use Autopkgtest to test package integrity.

Mike Gabriel sunweaver at debian.org
Wed Aug 20 13:38:51 UTC 2014


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

sunweaver pushed a commit to branch master
in repository node-policyfile.

commit 02c039aa14cbd1a5c0da11e44158b578c289bbf6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Aug 20 15:30:01 2014 +0200

    autopkgtest: Use Autopkgtest to test package integrity.
---
 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 4079f86..652279f 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
  nodejs,
 Standards-Version: 3.9.5
 Homepage: https://github.com/
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-policyfile.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-policyfile.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7223c07
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-policyfile
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..1f50a8e
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('policyfile');"

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



More information about the Pkg-javascript-commits mailing list