Strange rake behavior

I’m getting some really really really odd testing behavior.

  1. Running rake test:units passes with flying colors. (Well, that’s
    not what I mean by weird, but I suppose it is :wink: )

  2. Running rake test:functionals yields something like
    …E…EEEEE…EEEE…rake
    aborted!
    But doesn’t print any stack traces or error message output for the Es
    (even if I call it with -t for tracing).

  3. Running ruby test/functional/_____.rb for each of my functional
    tests passes with flying colors.

So my questions are
a) why no error messages? why no stack traces?
b) why does rake fail, but direct testing work?

I’m using test-spec and test-spec-on-rails, but everything was working
a few commits ago.

-Gaius

I suppose I should add the stack trace that I get with -t tracing:

Command failed with status (): [/usr/local/bin/ruby -Ilib:test "/usr/
local…]
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:incall’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in sh' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:insh’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in ruby' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:inruby’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
117:in define' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:inverbose’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
102:in define' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:incall’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:ineach’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
synchronize' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:ineach’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:18:in `load’
/usr/local/bin/rake:18

That’s for the rake task itself, not for any individual test. None of
those output anything.

-Gaius