about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_aggregate_pmq.rb4
-rw-r--r--test/test_last_data_recv_unicorn.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/test_aggregate_pmq.rb b/test/test_aggregate_pmq.rb
index ffa36cf..caaaf02 100644
--- a/test/test_aggregate_pmq.rb
+++ b/test/test_aggregate_pmq.rb
@@ -6,6 +6,10 @@ rescue => LoadError
   warn "W: #{e} skipping test"
   false
 end
+if RUBY_VERSION.to_f < 1.9
+  pmq = false
+  warn "W: skipping #{__FILE__}, only Ruby 1.9 supported for now"
+end
 
 Thread.abort_on_exception = true
 
diff --git a/test/test_last_data_recv_unicorn.rb b/test/test_last_data_recv_unicorn.rb
index 19aba0d..38bdd11 100644
--- a/test/test_last_data_recv_unicorn.rb
+++ b/test/test_last_data_recv_unicorn.rb
@@ -10,6 +10,10 @@ rescue => LoadError
   warn "W: #{e} skipping test"
   false
 end
+if RUBY_VERSION.to_f < 1.9
+  pmq = false
+  warn "W: skipping test=#{__FILE__}, only Ruby 1.9 supported for now"
+end
 
 class TestLastDataRecvUnicorn < Test::Unit::TestCase
   def setup