Skip to content

Commit

Permalink
sorry, the CI cannot lie to us anymore (Part II)
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Jan 13, 2011
1 parent 3165dca commit 9a57a22
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actionmailer/Rakefile
Expand Up @@ -17,7 +17,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("test/**/*_test.rb").all? do |file|
system(ruby, '-Ilib:test', file)
sh(ruby, '-Ilib:test', file)
end or raise "Failures"
end
end
Expand Down
2 changes: 1 addition & 1 deletion activemodel/Rakefile
Expand Up @@ -14,7 +14,7 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("#{dir}/test/**/*_test.rb").all? do |file|
system(ruby, '-w', "-I#{dir}/lib", "-I#{dir}/test", file)
sh(ruby, '-w', "-I#{dir}/lib", "-I#{dir}/test", file)
end or raise "Failures"
end
end
Expand Down
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Expand Up @@ -62,7 +62,7 @@ end
(Dir["test/cases/**/*_test.rb"].reject {
|x| x =~ /\/adapters\//
} + Dir["test/cases/adapters/#{adapter_short}/**/*_test.rb"]).all? do |file|
system(ruby, "-Ilib:test:#{connection_path}", file)
sh(ruby, "-Ilib:test:#{connection_path}", file)
end or raise "Failures"
end

Expand Down
2 changes: 1 addition & 1 deletion activeresource/Rakefile
Expand Up @@ -19,7 +19,7 @@ namespace :test do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
Dir.glob("test/**/*_test.rb").all? do |file|
system(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
sh(ruby, '-w', "-Ilib:test:#{activesupport_path}", file)
end or raise "Failures"
end
end
Expand Down

0 comments on commit 9a57a22

Please sign in to comment.