[Pkg-javascript-commits] [node-mocha] 10/12: add autopkgtest suite

Leo Iannacone l3on-guest at moszumanska.debian.org
Wed Oct 15 18:03:14 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-mocha.

commit 58a06cc852fc758ec5d4fe2e5962599e90331842
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Wed Oct 15 19:25:00 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 1fdba64..0d0ffe8 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Build-Depends:
  , uglifyjs
 Standards-Version: 3.9.6
 Homepage: http://visionmedia.github.io/mocha
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-mocha.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-mocha.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..76e14da
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-mocha
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..994c827
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('mocha');"

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



More information about the Pkg-javascript-commits mailing list