diff --git a/test/shell/run.rb b/test/shell/run.rb index 8c83a392..b25ea126 100644 --- a/test/shell/run.rb +++ b/test/shell/run.rb @@ -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