#1069: failed spec/frozen/core/kernel/sleep_spec.rb ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Keywords: ------------------------------+--------------------------------------------- I has failure in sleep_spec.rb. (see below) {{{ cymric$ ./mspec/bin/mspec run -B ./spec/macruby.mspec spec/frozen/core/kernel/sleep_spec.rb MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64] ....E. 1) Kernel#sleep pauses execution indefinitely if not given a duration ERROR ThreadError: stopping only thread note: use sleep to stop forever /Users/kouji/work/MacRuby/MacRuby/spec/frozen/core/kernel/sleep_spec.rb:33:in `block' /Users/kouji/work/MacRuby/MacRuby/spec/frozen/core/kernel/sleep_spec.rb:4:in `<main>' Finished in 0.522671 seconds 1 file, 5 examples, 6 expectations, 0 failures, 1 error }}} I try to fix it and created patch. detail: (sorry poor english) The thread does not register in just created time. It is registered after call rb_vm_thread_run(). So sometime rb_thread_alone failed. -- Ticket URL: <http://www.macruby.org/trac/ticket/1069> MacRuby <http://macruby.org/>