[Pkg-javascript-commits] [node-node-redis] 18/19: autopkgtest: Use Autopkgtest to test package integrity.

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


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

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

commit 870f416a011f5bd4ba4bada8b6c2fa192f8447c0
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Aug 20 15:12:48 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 3bfc99c..af50fb7 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
  nodejs,
 Standards-Version: 3.9.5
 Homepage: https://github.com/tim-smart/node-redis
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-node-redis.git
 Vcs-Browser: http://anonscm.debian.org/?p=pkg-javascript/node-node-redis.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b02b345
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-node-redis
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..1519900
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('node-redis');"

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



More information about the Pkg-javascript-commits mailing list