[DRE-commits] [bundler] 03/05: Add DEP-8 smoke test

Christian Hofstaedtler zeha at moszumanska.debian.org
Wed Apr 2 16:01:11 UTC 2014


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

zeha pushed a commit to branch master
in repository bundler.

commit cb4a776e0b068c17e3d5b1433e587a348c4ad511
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Wed Apr 2 17:51:14 2014 +0200

    Add DEP-8 smoke test
---
 debian/control         |  1 +
 debian/tests/control   |  3 +++
 debian/tests/testsuite | 13 +++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/control b/debian/control
index 2f36eae..3f55ccb 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/bundler.git;a=s
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/bundler.git
 Homepage: http://gembundler.com
 XS-Ruby-Versions: all
+XS-Testsuite: autopkgtest
 
 Package: bundler
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f9c03b2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: testsuite
+Depends: @, build-essential, bash
+Restrictions: rw-build-tree allow-stderr
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..776cad2
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+mkdir tmp || exit 1
+pushd tmp
+
+bundle init
+bundle
+status=$?
+
+popd
+rm -r tmp
+
+exit $status

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/bundler.git



More information about the Pkg-ruby-extras-commits mailing list