Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prevent segfault on 1.9.2p0 when running 'rake test'.

  • Loading branch information...
commit 45d8af012eb16fbaee96b103876c62826bc03194 1 parent a3cff23
Konstantin Haase rkh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
2  Rakefile
View
@@ -16,7 +16,7 @@ end
if !ENV['NO_TEST_FIX'] and RUBY_VERSION == '1.9.2' and RUBY_PATCHLEVEL == 0
# Avoids seg fault
task(:test) do
- second_run = %w[settings rdoc markaby].map { |l| "test/#{l}_test.rb" }
+ second_run = %w[settings rdoc markaby templates static].map { |l| "test/#{l}_test.rb" }
first_run = Dir.glob('test/*_test.rb') - second_run
[first_run, second_run].each { |f| sh "testrb #{f.join ' '}" }
end
Please sign in to comment.
Something went wrong with that request. Please try again.