ruby-changes:14095
From: akr <ko1@a...>
Date: Tue, 24 Nov 2009 23:02:55 +0900 (JST)
Subject: [ruby-changes:14095] Ruby:r25909 (trunk): * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error
akr 2009-11-24 22:59:10 +0900 (Tue, 24 Nov 2009) New Revision: 25909 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25909 Log: * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error instead of flunk. reported by Yusuke Endoh. Modified files: trunk/ChangeLog trunk/test/ruby/envutil.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 25908) +++ ChangeLog (revision 25909) @@ -1,3 +1,8 @@ +Tue Nov 24 22:57:46 2009 Tanaka Akira <akr@f...> + + * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error + instead of flunk. reported by Yusuke Endoh. + Tue Nov 24 22:31:44 2009 Yusuke Endoh <mame@t...> * vm.c (ruby_vm_destruct, thread_memsize): fix argument type to make Index: test/ruby/envutil.rb =================================================================== --- test/ruby/envutil.rb (revision 25908) +++ test/ruby/envutil.rb (revision 25909) @@ -91,7 +91,7 @@ stdout = th_stdout.value if capture_stdout stderr = th_stderr.value if capture_stderr else - flunk("timeout") + raise Timeout::Error end out_p.close if capture_stdout err_p.close if capture_stderr -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/