How to run unit tests for Rails

hi,

I downloaded rails as well as unit tests from:
http://svn.rubyonrails.org/rails/branches/1-2-stable/

bash-2.03$ cd rails-1.2.6/railties/

bash-2.03$ rake regular_test
(in /u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties)
/u/liangl/ruby/JRUBY103/bin/jruby -w -Ilib:test "/u/liangl/ruby/
JRUBY103/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/
rake_test_loader.rb" "test/dispatcher_test.rb" "test/
fcgi_dispatcher_test.rb" "test/initializer_test.rb" "test/
plugin_test.rb" "test/rails_generator_test.rb" "test/
rails_info_controller_test.rb" "test/rails_info_test.rb"
/u/liangl/ruby/JRUBY103/lib/ruby/site_ruby/1.8/builtin/javasupport/
proxy/concrete.rb:6 warning: `*' interpreted as argument prefix
/u/liangl/ruby/JRUBY103/lib/ruby/site_ruby/1.8/builtin/javasupport/
proxy/interface.rb:8 warning: `&' interpreted as argument prefix
/u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties/./test/../../
actionpack/lib/action_view/base.rb:159 warning: `*' interpreted as
argument prefix
/u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties/./test/../../
actionpack/lib/action_view/helpers/prototype_helper.rb:862 warning:
`*' interpreted as argument prefix
/u/liangl/ruby/JRUBY103/lib/ruby/1.8/net/smtp.rb:165 warning: global
variable `$;' not initialized
/u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties/./test/../../
actionpack/lib/../../activesupport/lib/active_support/dependencies.rb:
491:in `load': Routes is not a class. (TypeError)

I'm using JRuby 1.0.3 and Rails 1.2.6.