This does not have anything to do with the functional tests; only the ones run by 'rake' in the checkout directory.
I include the text of the patch; the patch as an attachment, and the results
of running 'rake' on my system.
PATCH TEXT:
Index: test/test_filelist.rb
===================================================================
--- test/test_filelist.rb (revision 607)
+++ test/test_filelist.rb (working copy)
@@ -196,11 +196,11 @@
def test_to_s_pending
fl = FileList['testdata/abc.*']
- assert_equal %{testdata/abc.c testdata/abc.h testdata/abc.x}.sort,
fl.to_s.sort
+ assert_equal %{testdata/abc.c testdata/abc.h testdata/abc.x},
fl.sort.to_s
end
def test_inspect_pending
- fl = FileList['testdata/abc.*']
+ fl = FileList['testdata/abc.*'].sort
assert_equal %{["testdata/abc.c", "testdata/abc.h",
"testdata/abc.x"]}, fl.inspect
end
Index: lib/rake.rb
===================================================================
--- lib/rake.rb (revision 607)
+++ lib/rake.rb (working copy)
@@ -1799,6 +1799,8 @@
"Display the tasks (matching optional PATTERN) with descriptions,
then exit."],
['--trace', '-t', GetoptLong::NO_ARGUMENT,
"Turn on invoke/execute tracing, enable full backtrace."],
+ ['--usage', '-u', GetoptLong::NO_ARGUMENT,
+ "Print single line usage message"],
['--verbose', '-v', GetoptLong::NO_ARGUMENT,
"Log message to standard output (default)."],
['--version', '-V', GetoptLong::NO_ARGUMENT,
--------------------------------------------
Results of runnign 'rake:' on version 607 with this patch
[EMAIL PROTECTED]:~/ruby/rake$ svn update
At revision 607.
[EMAIL PROTECTED]:~/ruby/rake$ rake
(in /home/kim/ruby/rake)
UNABLE TO RUN FUNCTIONAL TESTS
No Session Found
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.3
/lib/rake/rake_test_loader
Started
.....................................................................................................................................................................................................................................................................................................
Finished in 9.703078 seconds.
293 tests, 821 assertions, 0 failures, 0 errors
[EMAIL PROTECTED]:~/ruby/rake$
patch.rake
Description: Binary data
_______________________________________________ Rake-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/rake-devel
