[DRE-commits] [SCM] ruby-gettext.git branch, master, updated. debian/2.3.9-1

Jérémy Bobbio lunar at debian.org
Tue May 7 10:26:48 UTC 2013


The following commit has been merged in the master branch:
commit 7e49853fe98202dfcb403b80608e8f58eb52e564
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue May 7 09:46:59 2013 +0000

    Use rake to call upstream test suite

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 5fe71b6..fba210a 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,4 +1,7 @@
-if RUBY_VERSION >= '1.9'
-  Encoding.default_external = Encoding::UTF_8
-end
-require "test/run-test"
+ENV['LC_ALL'] = 'C.UTF-8'
+
+require 'rake'
+app = Rake.application
+app.init
+app.load_rakefile
+app['test'].invoke

-- 
ruby-gettext.git



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