[Pkg-javascript-commits] [node-mysql] 16/20: autopkgtest: Use Autopkgtest to test package integrity.
Mike Gabriel
sunweaver at debian.org
Wed Aug 20 13:05:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository node-mysql.
commit e937195e89828fd320ca33e87da967e7daeb422c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Aug 20 14:57:12 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 9edf23d..65e0a9f 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
nodejs,
Standards-Version: 3.9.4
Homepage: https://github.com/felixge/node-mysql
+XS-Testsuite: autopkgtest
Vcs-Git: git://git.debian.org/collab-maint/node-mysql.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/node-mysql.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a4abac4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-mysql
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..c495920
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('mysql');"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mysql.git
More information about the Pkg-javascript-commits
mailing list