[Pkg-javascript-commits] [node-serve-static] 09/12: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Wed Oct 15 15:56:38 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-serve-static.

commit 973a2b301f2e7483bac079b2a9ae27bca613e794
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Wed Oct 15 13:40:56 2014 +0200

    add autopkgtest suite
---
 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 e1b9cf7..7cfb377 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Standards-Version: 3.9.6
 Homepage: https://github.com/expressjs/serve-static
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-serve-static.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-serve-static.git
+XS-Testsuite: autopkgtest
 
 Package: node-serve-static
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ba891c2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-serve-static
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..e9c24b9
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('serve-static');"

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



More information about the Pkg-javascript-commits mailing list