[Pkg-javascript-commits] [node-optimist] 22/33: Add autopkgtest tests.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Feb 27 23:21:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository node-optimist.
commit c21701c765e047edebe5c42a7c1befee15e78f22
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Feb 27 20:15:47 2015 +0100
Add autopkgtest tests.
---
debian/changelog | 1 +
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
4 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c6e8ef0..fec4a49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ node-optimist (0.3.5-2) UNRELEASED; urgency=medium
* Update Vcs-* fields to use canonical URLs.
* Add build dependency on nodejs.
* Bump debhelper compatibility to 9.
+ * Add autopkgtest tests.
-- Bas Couwenberg <sebastic at debian.org> Fri, 27 Feb 2015 20:06:41 +0100
diff --git a/debian/control b/debian/control
index 44c84d0..9883b8f 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/node-optimist.git
Vcs-Git: git://anonscm.debian.org/collab-maint/node-optimist.git
Homepage: https://github.com/substack/node-optimist
+XS-Testsuite: autopkgtest
Package: node-optimist
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a681e79
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-optimist
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..8b4d1d8
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('optimist');"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-optimist.git
More information about the Pkg-javascript-commits
mailing list