Bug #3245: Expected "ccache gcc" to be nil.
http://redmine.ruby-lang.org/issues/show/3245

Author: Kazuhiro NISHIYAMA
Status: Open, Priority: Normal
Category: test, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2010-05-04 trunk 27602) [x86_64-linux]

When CC environment variable set, some tests of rake are failed.


% ruby-trunk -v
ruby 1.9.2dev (2010-05-04 trunk 27602) [x86_64-linux]
% echo $CC
ccache gcc
% ruby-trunk test/rake/test_task_arguments.rb
Loaded suite test/rake/test_task_arguments
Started
....F...F.F.
Finished in 0.001460 seconds.

  1) Failure:
test_default_arguements_that_dont_match_names_are_ignored(Rake::TestTaskArguments) [test/rake/test_task_arguments.rb:85]:
Expected "ccache gcc" to be nil.

  2) Failure:
test_extra_names_are_nil(Rake::TestTaskArguments) [test/rake/test_task_arguments.rb:48]:
Expected "ccache gcc" to be nil.

  3) Failure:
test_named_args(Rake::TestTaskArguments) [test/rake/test_task_arguments.rb:38]:
Expected "ccache gcc" to be nil.

12 tests, 23 assertions, 3 failures, 0 errors, 0 skips

Test run options: --seed 14032
%


----------------------------------------
http://redmine.ruby-lang.org