[DRE-commits] [ruby-gettext] 01/01: Fix the test suite under autopkgtest
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Aug 27 18:37:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-gettext.
commit 64dbfc91cfaa2155ee58000eae302e488eedd9fa
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Aug 27 15:36:14 2016 -0300
Fix the test suite under autopkgtest
---
debian/changelog | 11 +++++++++++
debian/ruby-tests.rb | 6 +-----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6f2f7b0..cc1c9bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+ruby-gettext (3.2.2-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Avoid calling rake in debian/ruby-tests.rb; instead, just load
+ test/run-test.rb; that is the same as what the Rakefile would do, but the
+ Rakefile would also try to write to lib/gettext/po_parser.rb under
+ autopkgtest because lib/ is moved away. This fixes the test suite under
+ autopkgtest
+
+ -- Antonio Terceiro <terceiro at debian.org> Sat, 27 Aug 2016 15:31:54 -0300
+
ruby-gettext (3.2.2-1) unstable; urgency=medium
[ Cédric Boutillier ]
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index fba210a..de0bb46 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,7 +1,3 @@
ENV['LC_ALL'] = 'C.UTF-8'
-require 'rake'
-app = Rake.application
-app.init
-app.load_rakefile
-app['test'].invoke
+load 'test/run-test.rb'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gettext.git
More information about the Pkg-ruby-extras-commits
mailing list