[Rake-devel] [PATCH] compability with ruby from CVS

Yuri Kozlov kozlov.y at gmail.com
Sun Nov 20 02:04:55 EST 2005


Hello.
Rake tests is not worked with ruby from cvs.

yuray at keeper:/host/p3/b/rake$ ruby --version
ruby 1.9.0 (2005-11-18) [i686-linux]

yuray at keeper:/host/p3/b/rake$ ruby install.rb
...
yuray at keeper:/host/p3/b/rake$ rake
(in /host/p3/b/rake)
/host/p3/b/rake/Rakefile:246: warning: ambiguous first argument; put
parentheses or even spaces
/host/p3/b/rake/Rakefile:251: warning: ambiguous first argument; put
parentheses or even spaces
Package Target requires RubyGEMs
mkdir -p testdata
/host/p3/a/ruby/bin/ruby -w -Ilib
"/host/p3/a/ruby/lib/ruby/site_ruby/1.9/rake/rake_test_loader.rb"
"test/test_clean.rb" "test/test_definitions.rb"
"test/test_earlytime.rb" "test/test_file_creation_task.rb"
"test/test_file_task.rb" "test/test_filelist.rb"
"test/test_fileutils.rb" "test/test_ftp.rb"
"test/test_makefile_loader.rb" "test/test_multitask.rb"
"test/test_package_task.rb" "test/test_rake.rb" "test/test_rules.rb"
"test/test_task_manager.rb" "test/test_tasks.rb"
"test/test_test_task.rb" "test/contrib/testsys.rb"
"test/functional.rb"

WARNING: RubyGems not installed
WARNING: Unable to test GemPackaging ... requires RubyGems
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found

Loaded suite /host/p3/a/ruby/lib/ruby/site_ruby/1.9/rake/rake_test_loader
Started
...
126 tests, 417 assertions, 0 failures, 12 errors

===================================================
yuray at keeper:/host/p3/b/rake$ patch -p0 <../rake_tests.patch
patching file Rakefile
patching file lib/rake.rb
patching file lib/rake/testtask.rb
patching file test/test_test_task.rb
yuray at keeper:/host/p3/b/rake$
====================================================
yuray at keeper:/host/p3/b/rake$ rake
(in /host/p3/b/rake)
Package Target requires RubyGEMs
mkdir -p testdata
/host/p3/a/ruby/bin/ruby -w -Ilib
"/host/p3/a/ruby/lib/ruby/site_ruby/1.9/rake/rake_test_loader.rb"
"test/test_clean.rb" "test/test_definitions.rb"
"test/test_earlytime.rb" "test/test_file_creation_task.rb"
"test/test_file_task.rb" "test/test_filelist.rb"
"test/test_fileutils.rb" "test/test_ftp.rb"
"test/test_makefile_loader.rb" "test/test_multitask.rb"
"test/test_package_task.rb" "test/test_rake.rb" "test/test_rules.rb"
"test/test_task_manager.rb" "test/test_tasks.rb"
"test/test_test_task.rb" "test/contrib/testsys.rb"
"test/functional.rb"
WARNING: RubyGems not installed
WARNING: Unable to test GemPackaging ... requires RubyGems
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite /host/p3/a/ruby/lib/ruby/site_ruby/1.9/rake/rake_test_loader
Started
..............................................................................................................................
Finished in 9.233951 seconds.

126 tests, 439 assertions, 0 failures, 0 errors
--
Regards,
Yuri Kozlov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rake_tests.patch
Type: text/x-patch
Size: 2323 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rake-devel/attachments/20051120/b5156c78/rake_tests.bin


More information about the Rake-devel mailing list