Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Undo optimization of removing some test tasks since it breaks LOAD_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrous26 committed Apr 4, 2012
1 parent acab32a commit 1a52b70
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rakelib/test.rake
Expand Up @@ -36,17 +36,18 @@ namespace :test do
task :integration => [:ext, :fixture]

desc 'Run tests for the string parser'
task :string do
ruby 'test/sanity/accessibility/test_string.rb'
Rake::TestTask.new(:string) do |t|
t.libs << '.'
t.pattern = "test/sanity/accessibility/test_string.rb"
end
task :string => :ext

desc 'Run tests under CRuby (where applicable)'
task :cruby do
if ENV['RUBY_VERSION'] # using rvm
puts sh 'rvm 1.9.3 do ruby test/sanity/accessibility/test_string.rb'
puts sh 'rvm 1.9.3 do rake test:string'
else
sh 'ruby test/sanity/accessibility/test_string.rb'
sh 'rake test:string'
end
end
end

0 comments on commit 1a52b70

Please sign in to comment.