[#8787] Literal inconsistency — Calamitas <calamitates@...>
Hi,
Calamitas <calamitates@gmail.com> writes:
On 9/4/06, Christian Neukirchen <chneukirchen@gmail.com> wrote:
[#8794] bignums — Ondrej Bilka <neleai@...>
I want ask how look integration of faster bignums.
[#8798] okay, threading & sandbox r70 -- the latest patch — why the lucky stiff <ruby-core@...>
We have previously talked about getting the sandbox to obey thread switching on
Hi,
[#8802] WEBrick::Cookie support for multiple cookies per set-cookie — Aaron Patterson <aaron_patterson@...>
WEBrick's cookie class has a method for parsing Set-Cookie headers, but
[#8813] ruby-1.8.5 loads fox16.so more than once — <noreply@...>
Bugs item #5701, was opened at 2006-09-08 20:59
[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>
Howdy,
On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:
On Saturday 09 September 2006 01:42, Eric Hodel wrote:
On Sep 9, 2006, at 7:16 PM, Sean E. Russell wrote:
On Sunday 10 September 2006 22:57, Eric Hodel wrote:
[#8826] OptionParser < Hash — "greg weber" <eegreg@...>
Hi,
[#8828] REXML fails to parse UTF-16 XML. — <noreply@...>
Bugs item #5711, was opened at 2006-09-11 01:25
Hi,
[#8861] new changes in strings+symbols — Mathieu Bouchard <matju@...>
On Wed, 13 Sep 2006, matz wrote:
[#8864] documentation of ruby internals — Deni George <denigeorge@...>
Hello
On Thursday 14 September 2006 11:30, Deni George wrote:
[#8885] numeric.c fails to build on 64-bit platforms (Fedora Core 5 x86_64 gcc 4.1.1) — <noreply@...>
Patches item #5774, was opened at 2006-09-16 12:19
Hi,
[#8897] Ruby's 'etc' module cannot handle the UID of OS X 'nobody' properly — <noreply@...>
Bugs item #5822, was opened at 2006-09-20 11:13
Hi,
[#8904] patch bignums — Ondrej Bilka <neleai@...>
I am so far with implementing faster bignums:
[#8920] rdoc capture output (help message) — "greg weber" <eegreg@...>
Hi,
The simplest command line would be
greg weber wrote:
It looks like you could seperate this out into a rake task, but then
On Sep 29, 2006, at 5:52 AM, greg weber wrote:
[#8929] Re: RDoc patch, possible bug in socket.c for TCPSocket.new — gwtmp01@...
[#8948] socket (and many others) not building on osx? — Ryan Davis <ryand-ruby@...>
I'm stumped. A brand new clean build doesn't build socket.
[#8954] The %? .. ? Operator — James Edward Gray II <james@...>
I'm needing to know the full list of characters that can (or cannot)
On Sep 29, 2006, at 9:56 AM, James Edward Gray II wrote:
Re: test/unit doesn't rescue a Exception
In article <87is5jb46q.fsf@serein.a02.aist.go.jp>,
Tanaka Akira <akr@m17n.org> writes:
> test/unit doesn't rescue a Exception in a test method, as follows.
How about this patch?
Index: lib/test/unit/testcase.rb
===================================================================
RCS file: /src/ruby/lib/test/unit/testcase.rb,v
retrieving revision 1.7
diff -u -p -r1.7 testcase.rb
--- lib/test/unit/testcase.rb 4 Aug 2006 18:05:45 -0000 1.7
+++ lib/test/unit/testcase.rb 2 Sep 2006 03:06:34 -0000
@@ -70,7 +70,7 @@ module Test
__send__(@method_name)
rescue AssertionFailedError => e
add_failure(e.message, e.backtrace)
- rescue StandardError, ScriptError
+ rescue Exception
add_error($!)
ensure
begin
The patch makes test/unit to count all exception as follows.
% cat a.rb
require 'test/unit'
class T < Test::Unit::TestCase
def test_a
raise Exception
end
end
% ./ruby -Ilib a.rb
Loaded suite a
Started
E
Finished in 0.000373 seconds.
1) Error:
test_a(T):
Exception: Exception
a.rb:5:in `test_a'
1 tests, 0 assertions, 0 failures, 1 errors
test/unit exits prematurely without the patch.
% ./ruby a.rb
Loaded suite a
Started
a.rb:5:in `test_a': Exception (Exception)
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testcase.rb:70:in `__send__'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testcase.rb:70:in `Test::Unit::TestCase#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:34:in `Test::Unit::TestSuite#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:33:in `Array#each'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:33:in `Test::Unit::TestSuite#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:34:in `Test::Unit::TestSuite#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:33:in `Array#each'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/testsuite.rb:33:in `Test::Unit::TestSuite#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/ui/testrunnermediator.rb:46:in `Test::Unit::UI::TestRunnerMediator#run_suite'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/ui/console/testrunner.rb:41:in `Test::Unit::UI::Console::TestRunner#start'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/ui/testrunnerutilities.rb:29:in `Test::Unit::UI::TestRunnerUtilities#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/autorunner.rb:200:in `Test::Unit::AutoRunner#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit/autorunner.rb:13:in `Test::Unit::AutoRunner#run'
from /home/akr/ruby/19/lib/ruby/1.9/test/unit.rb:278
from a.rb:4
from a.rb:4
--
Tanaka Akira