about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-09 17:03:20 -0800
committerEric Wong <normalperson@yhbt.net>2011-03-09 17:03:20 -0800
commit485d3fa598a119b409734e0a4193d78fe50f4ff7 (patch)
tree677575548fdcf4bb17cc4f5421f00cb10a232386 /test
parentfa64d77ac096612d6bc731407066df8aa1ff79a7 (diff)
downloadraindrops-485d3fa598a119b409734e0a4193d78fe50f4ff7.tar.gz
POSIX message queues needs native threads to function.
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