[Pkg-javascript-commits] [node-serve-favicon] 03/03: add supporto to autopkgtest

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat Jul 5 16:14:12 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-favicon.

commit e45a5049575eea77ef781894196776b309eb198c
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sat Jul 5 18:14:05 2014 +0200

    add supporto to 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 38420d2..cb46ef0 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  , nodejs
 Standards-Version: 3.9.5
 Homepage: https://github.com/expressjs/serve-favicon
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-serve-favicon.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-serve-favicon.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1286f7f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-server-favicon
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..50c9bf8
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('server-favicon');"

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



More information about the Pkg-javascript-commits mailing list