[Pkg-javascript-commits] [node-supports-color] 01/01: add autopkgtest
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Thu Jul 3 23:57:23 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-supports-color.
commit e002144ccf42e55771f96ee01450b75c44f3e5d5
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Thu Jul 3 23:57:21 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 06864a3..0a638ab 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Standards-Version: 3.9.5
Homepage: https://github.com/sindresorhus/supports-color
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-supports-color.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-supports-color.git
+XS-Testsuite: autopkgtest
Package: node-supports-color
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d915bf7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-supports-color
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..d1205c1
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('supports-color');"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-supports-color.git
More information about the Pkg-javascript-commits
mailing list