diff --git a/Rakefile b/Rakefile index 1df5bc62a..b24b5b858 100644 --- a/Rakefile +++ b/Rakefile @@ -62,12 +62,13 @@ task :test => "test:units" namespace :test do Rake::TestTask.new(:all) do |t| t.test_files = FileList[ + 'test/*_test.rb', 'test/lib/*_test.rb', 'test/contrib/*_test.rb', 'test/functional/*_test.rb' ] t.warning = true - t.verbose = false + t.verbose = true end Rake::TestTask.new(:units) do |t| diff --git a/rakelib/ruby19.rake b/rakelib/ruby19.rake index 075d77429..8bbd8015c 100644 --- a/rakelib/ruby19.rake +++ b/rakelib/ruby19.rake @@ -81,7 +81,7 @@ namespace "ruby19" do desc "Run the all the tests in Ruby 1.9" task :all, :opts, :needs => [:env19] do |t, args| - test_files = FileList['test/functional/*_test.rb', 'test/lib/*_test.rb'] + test_files = FileList['test/*_test.rb', 'test/functional/*_test.rb', 'test/lib/*_test.rb'] Ruby19.run_tests(test_files, args.opts) end end diff --git a/test/ruby_version_test.rb b/test/ruby_version_test.rb new file mode 100644 index 000000000..c176110ea --- /dev/null +++ b/test/ruby_version_test.rb @@ -0,0 +1,9 @@ +require 'test/unit' + +class RubyVersionTest < Test::Unit::TestCase + def test_ruby_version + puts(`which ruby`) + puts(`which ruby19`) + puts "\nRUBY VERSION = #{RUBY_VERSION}" + end +end