I was able to get the tests to run -- more or less - by making simple changes to
# modified: test/functional/favorites_controller_test.rb # modified: test/integration/git_http_cloning_test.rb # modified: test/unit/message_thread_test.rb The tests are very noisy for me at the moment. I get that the deprecation warning fro Config (RbConfig is preferred) may be coming from the fact that I am running Ruby 1.9. But there are a number of other deprectation warning which appear to be specific to gitorious or components it uses internally. I won't dump logs here. The overall result is that I have not seen a clean run of rake test yet. I'm wondering what the developers are using for a test arrangement and what the expected regressions are at this time. FWIW: I am up-to-date with hash 3f1cf390bf05634451d825bc7bb0f10848710f3f plus a the few edits I have described to get install/test to run this far. Thanks! On Thursday, August 2, 2012 12:41:24 PM UTC-7, Carlos wrote: > > > Hi. Sorry to pepper the list with questions, but I think these are things > people trying to set up gitorious are likely to encounter. > > I got the databases created and setup for production, development and test > environments. > > Then I try to run the tests: bundle exec rake test > > I get three stack-traces, one for each of the sets of tests (unit, > functional and integration). They all look similar. Here's the trace for > the unit tests failure: > > test/unit/message_thread_test.rb:18:in `require': cannot load such file -- > test/unit/../test_helper (LoadError) > from test/unit/message_thread_test.rb:18:in `<top (required)>' > from > /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in > > `load' > from > /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in > > `block in <main>' > from > /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in > > `each' > from > /usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in > > `<main>' > > The file $GITHOME/test/test_helper.rb is *definitely* there. All > directories/files are owned by git:nogroup. I am running bundle as root. > > I tried playing with the path and filename, but it seems fine. I'm > thinking this might be obvious to a ruby user. > > Any ideas? > > Platform is Ubuntu 12.04 > > # ruby --version > ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] > > # bundle --version > Bundler version 1.1.5 > > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
