Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Undo optimization of removing some test tasks since it breaks LOAD_PATH

  • Loading branch information...
commit 1a52b70c8ea9264b3ec8bc6c1dc2d540343aecd6 1 parent acab32a
@ferrous26 ferrous26 authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 rakelib/test.rake
View
9 rakelib/test.rake
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.