mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Don't run worker integration on JRuby
This commit is contained in:
parent
910b4589be
commit
85aa134431
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,13 @@
|
|||
results = %w[t1 t2 t3].map do |test|
|
||||
require "puma"
|
||||
require "puma/detect"
|
||||
|
||||
TESTS_TO_RUN = if Puma.jruby?
|
||||
%w[t1 t2]
|
||||
else
|
||||
%w[t1 t2 t3]
|
||||
end
|
||||
|
||||
results = TESTS_TO_RUN.map do |test|
|
||||
system("ruby -rrubygems test/shell/#{test}.rb ") # > /dev/null 2>&1
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue