Test/ruby/

[email protected]$G$9!%e(B

e$B!!$?$V$se(B m17n [email protected]$H;W$$$^$9$,!$e(Btest/ruby/test_file.rb
e$B$r<B9T$9e(B
e$B$k$H!$$J$s$+;_$^$j$^$9!%860x$ODI$C$F$$$^$;$s!%e(B

$ make ruby test-all TESTS=’-v ruby/test_file’
make: `ruby’ is up to date.
./miniruby …/trunk/runruby.rb --extout=.ext –
“…/trunk/test/runner.rb” --basedir="…/trunk/test" --runner=console
-v ruby/test_file
Loaded suite test_file
Started
test_chown(TestFile): .
test_each_byte_extended_file(TestFile): make: *** [test-all] Error 1

e$B!!e(B-x test_file
e$B$H$7$F<B9T$7$F$_$k$H!$<!$N$h$&$JL$CN$N%(%i!<$,$G$F$-e(B
e$B$^$7$?!%e(B

Finished in 70.019351 seconds.

  1. Error:
    test_fnmatch(TestFnmatch):
    TypeError: can’t convert Fixnum into String
    /home/ko1/ruby/trunk/test/ruby/test_fnmatch.rb:7:in include?' /home/ko1/ruby/trunk/test/ruby/test_fnmatch.rb:7:inblock in
    bracket_test’
    /home/ko1/ruby/trunk/test/ruby/test_fnmatch.rb:6:in upto' /home/ko1/ruby/trunk/test/ruby/test_fnmatch.rb:6:inbracket_test’
    /home/ko1/ruby/trunk/test/ruby/test_fnmatch.rb:45:in `test_fnmatch’

  2. Failure:
    test_each(TestString)
    [/home/ko1/ruby/trunk/test/ruby/test_string.rb:475]:
    <“hello\n\n\n”> expected but was
    <“hello\n”>.

  3. Failure:
    test_each_line(TestString)
    [/home/ko1/ruby/trunk/test/ruby/test_string.rb:503]:
    <“hello\n\n\n”> expected but was
    <“hello\n”>.

  4. Error:
    test_rindex(TestString):
    IndexError: index out of range
    /home/ko1/ruby/trunk/test/ruby/test_string.rb:724:in rindex' /home/ko1/ruby/trunk/test/ruby/test_string.rb:724:intest_rindex’

  5. Failure:
    test_strip!(TestString)
    [/home/ko1/ruby/trunk/test/ruby/test_string.rb:971]:
    expected but was
    <"">.

  6. Failure:
    test_tr(TestString)
    [/home/ko1/ruby/trunk/test/ruby/test_string.rb:1190]:
    <“e**o"> expected but was
    <"h
    ll*”>.

  7. Failure:
    test_tr!(TestString)
    [/home/ko1/ruby/trunk/test/ruby/test_string.rb:1202]:
    <“e**o"> expected but was
    <"h
    ll*”>.

638 tests, 909052 assertions, 13 failures, 4 errors

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:31652] test/ruby/”
on Sat, 25 Aug 2007 23:56:23 +0900, SASADA Koichi [email protected]
writes:

|e$B!!$?$V$se(B m17n [email protected]$H;W$$$^$9$,!$e(Btest/ruby/test_file.rb e$B$r<B9T$9e(B
|e$B$k$H!$$J$s$+;_$^$j$^$9!%860x$ODI$C$F$$$^$;$s!%e(B

e$B$(!<$H!"%P%0$G$7$?!#e(B

  • getce$B$,e(BEOFErrore$B$rJV$9e(B
  • delegate.rbe$B$,e([email protected]$B$K$*$+$7$JJQ99$r2C$($F$$$?e(B
  • each_bytee$B$,L58B%k!<%We(B

e$B$NJ;$;5;$G$9!#[email protected]$O7nMKF|$K$G$b%3%_%C%H$7$^$9!#e(B

|e$B!!e(B-x test_file e$B$H$7$F<B9T$7$F$_$k$H!$<!$N$h$&$JL$CN$N%(%i!<$,$G$F$-e(B
|e$B$^$7$?!%e(B

e$B$3$A$i$O$^[email protected]+$F$^$;$s!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs