[DRE-commits] [ruby-feedparser] 03/06: Skip tests on ruby < 1.9

Antonio Terceiro terceiro at alioth.debian.org
Tue Aug 27 22:14:05 UTC 2013


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

terceiro pushed a commit to branch old-master
in repository ruby-feedparser.

commit fab8f922e03c36cd6169e8166bc443450eebea39
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Aug 24 18:40:09 2013 -0300

    Skip tests on ruby < 1.9
---
 debian/ruby-tests.rb |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 0268b49..0c69a58 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,2 +1,7 @@
+if RUBY_VERSION < '1.9'
+  puts "I: skipping tests on ruby < 1.9, not really supported anymore"
+  exit
+end
+
 $: << 'lib' << '.'
 require 'test/tc_feed_parse.rb'

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



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