[Pkg-javascript-commits] [node-superagent] 04/07: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Sun Oct 12 13:00:28 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-superagent.

commit ed1a4a57d5f6362aba93bfdfa163803c86c84f44
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sun Oct 12 14:40:23 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 67bd397..8a9adb8 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Standards-Version: 3.9.6
 Homepage: https://github.com/visionmedia/superagent
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-superagent.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-superagent.git
+XS-Testsuite: autopkgtest
 
 Package: node-superagent
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..5b473bc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-superagent
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..b0609bb
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('superagent');"

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



More information about the Pkg-javascript-commits mailing list