[DRE-commits] [ruby-oj] 03/04: Add autopkgtest support
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Aug 27 04:18:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-oj.
commit 022d6d89f3bede12f93017c0824d455334faed53
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Aug 27 05:41:51 2014 +0200
Add autopkgtest support
---
debian/ruby-tests.rb | 2 +-
debian/tests/control | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 68a81ee..53b0a49 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,3 +1,3 @@
ENV['TZ']="Europe/Paris"
-Dir.glob("test/test*.rb").each { |f| require f }
+Dir.glob("./test/test*.rb").each { |f| require f }
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a4a34b2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Depends: @, gem2deb-test-runner, ruby-minitest
+
+Test-Command: ruby -r "oj" -e "puts true"
+Depends: @
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-oj.git
More information about the Pkg-ruby-extras-commits
mailing list