[DRE-commits] [SCM] ruby-cairo.git branch, master, updated. debian/1.10.0-3-12-g8a824e9

Cédric Boutillier cedric.boutillier at gmail.com
Tue May 8 07:52:26 UTC 2012


The following commit has been merged in the master branch:
commit 8d60be39f29f8cdd517769626b8a5f61db322b43
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Mon May 7 23:18:16 2012 +0200

    Exclude just one test. add a note to add it back in the next release

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index bc2c0be..a046626 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -4,9 +4,10 @@ require 'rbconfig'
 
 Rake::TestTask.new do |t|
   t.libs = ["test"]
-  t.test_files = FileList['test/test_*.rb'].reject do |test|
-    test =~ %r{^test/test_(xml|tee|script)}
-  end
-  t.ruby_opts << '-rcairo-test-utils' << '-rtest/unit' << '-Idebian' << '-rtest-unit-stub'
+  # add all tests except one because of unconsistent testing of available
+  # devices/surfaces. Will be fixed in release just before 1.12.1.
+  # See https://github.com/rcairo/rcairo/issues/11
+  t.test_files = FileList['test/test_*.rb'] - ["test/test_xml_device.rb"]
+  t.ruby_opts << '-rcairo-test-utils' << '-rtest/unit'
   t.verbose = true
 end

-- 
ruby-cairo.git



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