e$B%A%1%C%He(B #3037 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)
Target version 1.9.2e$B$+$ie(B1.9.xe$B$KJQ99e(B
e$B1sF#$G$9!#e(B
2010e$BG/e(B3e$B7ne(B29e$BF|e(B18:21 okkez _ [email protected]:
Finished in 0.574919 seconds.
46 tests, 16959 assertions, 0 failures, 0 errors
e$B$3$N7o$G$9$,!"e(Btest/unit e$B$N%a%s%F%J$H$7$F%j%9%H$5$l$F$$$?e(B
Ryan D. e$B$Ke(B
e$BLd$$9g$o$;$?$H$3$me(B (#3275) e$B!"e(BRyan e$B$Oe(B test/unit
e$B$N%a%s%F%J$G$O$J$$$H$$$&e(B
e$BJV;v$,Mh$^$7$?!#$D$^$j!"8=:_e(B test/unit
e$B$K%a%s%F%J$,$*$j$^$;$s!#e(B
e$B%a%s%F%JIT:_$N>u67$GBP1~$9$k$K$OBgJQ$J$N$H!"e(B–console e$B$de(B
–gtk e$B$de(B --fox
e$B$J$I$N%*%W%7%g%s$OHs8_49$K$J$k$3$H$J$I;EMM$+$i8!F$$7$J$$$H$$$1$J$$$?$a!"e(B
1.9.2 e$B$G$Oe(B WONTFIX e$B$H$7$?$$$H;W$$$^$9!#e(B
1.9.3
e$B0J9_$G$b$I$J$?$+$,%a%s%F%J$K$J$C$F$/$l$k$J$I$7$J$$$HD>$i$J$$$+$be(B
e$B$7$l$^$;$s!#e(B
test/unit e$B$rB>$N8_49$J%F%9%H%U%l!<%`%o!<%/e(B (Test::Unit 2
e$B$H$+!)e(B) e$B$KF~$le(B
e$BBX$($k$3$H$r8!F$$7$?J}$,$$$$$+$bCN$l$^$;$s!#e(B
http://redmine.ruby-lang.org/issues/show/3037
e$B?\F#$G$9!#e(B
In [email protected]
“[ruby-dev:41353] [Bug #3037] testrb e$B$NF0:n$,e(B1.8.7 e$B$Ne(B
testrb e$B$H0c$$$9$.$ke(B” on Wed, 19 May 2010 21:04:55 +0900,
Yusuke E. [email protected] wrote:
1.9.3 e$B0J9_$G$b$I$J$?$+$,%a%s%F%J$K$J$C$F$/$l$k$J$I$7$J$$$HD>$i$J$$$+$be(B
e$B$7$l$^$;$s!#e(B
test/unit e$B$rB>$N8_49$J%F%9%H%U%l!<%`%o!<%/e(B (Test::Unit 2 e$B$H$+!)e(B) e$B$KF~$le(B
e$BBX$($k$3$H$r8!F$$7$?J}$,$$$$$+$bCN$l$^$;$s!#e(B
e$B$b$7!“e(BTest::Unit 2e$B$K$J$C$F$b$h$$$J$i!”$=$N$H$-$O%a%s%F%J$KN)e(B
e$B8uJd$7$h$&$H;W$$$^$9!#e(B
2010e$BG/e(B5e$B7ne(B19e$BF|e(B21:04 Yusuke E.
[email protected]:
test/unit e$B$rB>$N8_49$J%F%9%H%U%l!<%`%o!<%/e(B (Test::Unit 2 e$B$H$+!)e(B) e$B$KF~$le(B
e$BBX$($k$3$H$r8!F$$7$?J}$,$$$$$+$bCN$l$^$;$s!#e(B
e$B7P83>e!"e(B1.8 e$B$Ne(B test/unit e$B$G$O!"e(Btest/unit
e$BFb$G0[>o=*N;e(B (SEGV e$B$H$+e(B) e$B$7$?$H$-!“e(B
e$B:F8=%9%/%j%W%H$r:G>.2=$9$k$N$,$H$F$b$?$$$X$s$@$C$?$N$G!”$b$H$KLa$9$N$Oe(B
e$BNI$$J}K!$H$O;W$($^$;$s!#e(B
e$B?\F#$G$9!#e(B
In [email protected]
“[ruby-dev:41402] Re: [Bug #3037] testrb e$B$NF0:n$,e(B1.8.7 e$B$Ne(B
testrb e$B$H0c$$$9$.$ke(B” on Mon, 24 May 2010 16:45:36 +0900,
Tanaka A. [email protected] wrote:
test/unit e$B$rB>$N8_49$J%F%9%H%U%l!<%`%o!<%/e(B (Test::Unit 2 e$B$H$+!)e(B) e$B$KF~$le(B
e$BBX$($k$3$H$r8!F$$7$?J}$,$$$$$+$bCN$l$^$;$s!#e(B
e$B7P83>e!"e(B1.8 e$B$Ne(B test/unit e$B$G$O!"e(Btest/unit e$BFb$G0[>o=*N;e(B (SEGV e$B$H$+e(B) e$B$7$?$H$-!“e(B
e$B:F8=%9%/%j%W%H$r:G>.2=$9$k$N$,$H$F$b$?$$$X$s$@$C$?$N$G!”$b$H$KLa$9$N$Oe(B
e$BNI$$J}K!$H$O;W$($^$;$s!#e(B
e$B$3$l$OA0$KEDCf$5$s$HOC$7$?$H$-$KJ9$$$?5$$,$9$k!“”-$N$h$&$J%1!<e(B
e$B%9$N$3$H$G$9$+!)e(B
class SomeTest < Test::Unit::TestCase
def setup
some_setup1
some_setup2
some_setup3
end
def test_segv
assert_equal("Good", some_method(arg1))
assert_equal("Good", some_method(arg2))
assert_equal("Good", some_method(arg3))
assert_equal("SEGV!!!", some_method(arg4))
assert_equal("Good", some_method(arg5))
assert_equal("Good", some_method(arg6))
end
end
e$B$H$$$&%F%9%H%9%/%j%W%H$G0[>o=*N;$7$?$H$-$K!"e(B
some_setup1
some_setup2
some_setup3
some_method(arg1)
some_method(arg2)
some_method(arg3)
some_method(arg4)
some_method(arg5)
some_method(arg6)
e$B$H$$$&%9%/%j%W%H$r:n$k$N$,LLE]$/$5$$$H$$$&%1!<%9!#e(B
2010e$BG/e(B5e$B7ne(B28e$BF|e(B21:03 Kouhei S. [email protected]:
e$B7P83>e!"e(B1.8 e$B$Ne(B test/unit e$B$G$O!"e(Btest/unit e$BFb$G0[>o=*N;e(B (SEGV e$B$H$+e(B) e$B$7$?$H$-!“e(B
e$B:F8=%9%/%j%W%H$r:G>.2=$9$k$N$,$H$F$b$?$$$X$s$@$C$?$N$G!”$b$H$KLa$9$N$Oe(B
e$BNI$$J}K!$H$O;W$($^$;$s!#e(B
e$B$3$l$OA0$KEDCf$5$s$HOC$7$?$H$-$KJ9$$$?5$$,$9$k!“”-$N$h$&$J%1!<e(B
e$B%9$N$3$H$G$9$+!)e(B
e$B$$$$$(!#e(B
e$B8D!9$N%F%9%H$G$J$/e(B test/unit
e$B$H$$$&%i%$%V%i%j$NCf$G0[>o=*N;$9$k%1!<%9$d!"e(B
e$B%F%9%H$NCf?H$r<h$j=P$7$Fe(B test/unit
e$BH4$-$G<B9T$9$k$H0[>o=*N;$7$J$$%1!<%9$G$9!#e(B
e$B$=$&$$$&%1!<%9$G$O!“e(Btest/unit e$B$H$$$&%i%$%V%i%j$r:o$C$F$$$C$Fe(B
e$B:F8=%9%/%j%W%H$r:n$k$N$G$9$,!”$=$l$,$?$$$X$s$J$N$G$9!#e(B
ruby e$B<+BN$KLdBj$,$"$k>l9g$K$O$=$&$$$&$O$a$K4Y$k$N$G!"e(B
e$B%f%K%C%H%F%9%H%U%l!<%`%o!<%/$OC1=c$J$[$&$,NI$$$H;W$C$F$$$^$9!#e(B
e$B?\F#$G$9!#e(B
In [email protected]
“[ruby-dev:41450] Re: [Bug #3037] testrb e$B$NF0:n$,e(B1.8.7 e$B$Ne(B
testrb e$B$H0c$$$9$.$ke(B” on Fri, 28 May 2010 23:57:44 +0900,
Tanaka A. [email protected] wrote:
e$B8D!9$N%F%9%H$G$J$/e(B test/unit e$B$H$$$&%i%$%V%i%j$NCf$G0[>o=*N;$9$k%1!<%9$d!"e(B
e$B%F%9%H$NCf?H$r<h$j=P$7$Fe(B test/unit e$BH4$-$G<B9T$9$k$H0[>o=*N;$7$J$$%1!<%9$G$9!#e(B
e$B$=$&$$$&%1!<%9$G$O!“e(Btest/unit e$B$H$$$&%i%$%V%i%j$r:o$C$F$$$C$Fe(B
e$B:F8=%9%/%j%W%H$r:n$k$N$G$9$,!”$=$l$,$?$$$X$s$J$N$G$9!#e(B
ruby e$B<+BN$KLdBj$,$"$k>l9g$K$O$=$&$$$&$O$a$K4Y$k$N$G!"e(B
e$B%f%K%C%H%F%9%H%U%l!<%`%o!<%/$OC1=c$J$[$&$,NI$$$H;W$C$F$$$^$9!#e(B
e$B@bL@$"$j$,$H$&$4$6$$$^$9!#e(B
e$B$=$l$G$O!“$b$H$b$H$N%F%9%H$,0U?^$7$F$$$J$$>l=j$GLdBj$,H/@8$7e(B
e$B$F$7$^$&3NN($,9b$/$J$k$N$bLdBj$H9M$($F$$$^$9$+!)e(B
e$B$=$l$H$b!”$=$l<+BN$OLdBj$G$O$J$/!“0[>o=*N;$,H/@8$7$F$7$^$C$?e(B
e$B$H$-$K860x$r8+$D$1$k$N$,BgJQ$K$J$C$F$7$^$&$3$H$@$1$,LdBj$H9Me(B
e$B$($F$$$k!”$H$$$&$3$H$G$9$+!)e(B
e$B%f%K%C%H%F%9%H%U%l!<%`%o!<%/$O$"$s$^$j1F6A$rM?$($J$$J}$,$h$$!“e(B
e$B$H$$$&$h$&$KFI$a$?$N$G!”$I$A$i$+$H$$$&$H!"A0<T$J$N$+$J$!$H$$e(B
e$B$&46$8$,$7$^$7$?!#e(B
e$B1sF#$G$9!#e(B
2010e$BG/e(B5e$B7ne(B24e$BF|e(B16:45 Tanaka A. [email protected]:
2010e$BG/e(B5e$B7ne(B19e$BF|e(B21:04 Yusuke E. [email protected]:
test/unit e$B$rB>$N8_49$J%F%9%H%U%l!<%`%o!<%/e(B (Test::Unit 2 e$B$H$+!)e(B) e$B$KF~$le(B
e$BBX$($k$3$H$r8!F$$7$?J}$,$$$$$+$bCN$l$^$;$s!#e(B
e$B7P83>e!"e(B1.8 e$B$Ne(B test/unit e$B$G$O!"e(Btest/unit e$BFb$G0[>o=*N;e(B (SEGV e$B$H$+e(B) e$B$7$?$H$-!“e(B
e$B:F8=%9%/%j%W%H$r:G>.2=$9$k$N$,$H$F$b$?$$$X$s$@$C$?$N$G!”$b$H$KLa$9$N$Oe(B
e$BNI$$J}K!$H$O;W$($^$;$s!#e(B
test/unit e$B$Oe(B ruby core
e$B$N$?$a$N%F%9%H%U%l!<%`%o!<%/$G$O$J$$$N$G!"e(B
e$B$=$l$rM}M3$KDL>o$Ne(B Ruby
e$B%f!<%6$KITJX$r6/$$$k$N$OJQ$+$J$H;W$$$^$7$?!#e(B
test/unit e$B$OCV$-49$($D$D!“e(Bcore e$B$Ne(B test/ruby e$B$Oe(B
minitest e$B$r%Y!<%9$Ke(B
e$B$7$?@lMQ%F%9%H%U%l!<%`%o!<%/$G<B9T$7$F$b$$$$$s$8$c$J$$$G$9$+$M!#e(B
e$B$^$”!"$=$N:n6H$r$d$C$F$/$l$k?M$,$$$J$1$l$P;O$^$j$^$;$s$1$l$I!#e(B
2010e$BG/e(B5e$B7ne(B29e$BF|e(B0:13 Kouhei S. [email protected]:
e$B$=$l$G$O!"$b$H$b$H$N%F%9%H$,0U?^$7$F$$$J$$>l=j$GLdBj$,H/@8$7e(B
e$B$F$7$^$&3NN($,9b$/$J$k$N$bLdBj$H9M$($F$$$^$9$+!)e(B
e$B860x$NDI5a$,4JC1$J$iLdBj$J$$$+$b$7$l$^$;$s$M!#e(B