COMMIT Binding preserves __FILE__ and __LINE__ of which binding was created http://github.com/rubyspec/rubyspec/commit/342d5f7191746e8a2b440f2f228deb2dea6308e8 =================================================================== +++ 20100510T053320 @@ 12 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +リビジョン: 27716 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: yugui @@ 19947 @@ /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/socket/extconf.rb:: warning: ambiguous first argument; put parentheses or even spaces /home/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/json/lib/json/editor.rb:: warning: shadowing outer local variable - item s: . +TestSystem#test_system: /home/chkbuild/tmp/build/ruby-1.9.1//tmp/ruby_script_tmp20100510-17661-14djsbm/ruby_script_tmp.17661:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 19985 @@ TestThread#test_mutex_synchronize: s: . TestThread#test_mutex_trylock: s: . TestThread#test_new: s: . +TestThread#test_priority: s: . TestThread#test_recursive_error: s: . TestThread#test_safe_level: /home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/ruby/test_thread.rb:: warning: $SAFE=3 does no sandboxing; you might want to use $SAFE=4 s: . @@ 20710 @@ /home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/ruby/envutil.rb:105:in `assert_normal_exit' /home/chkbuild/tmp/build/ruby-1.9.1//ruby/test/ruby/test_yield.rb:88:in `test_through_a_method_defined_by_define_method' +6042 tests, assertions, 6 failures, 8 errors, 0 skips make: *** [test-all] エラー 1 exit 2 failed(test-all) @@ 40727 @@ - defaults to omitting one frame Kernel#caller in a Proc or eval +- returns the definition trace of a block when evaluated in a Proc binding (FAILED - ) +- returns the definition trace of a Proc (FAILED - ) - returns the correct caller line from a called Proc +- returns the correct definition line for a complex Proc trace (FAILED - ) - begins with (eval) for caller(0) in eval - begins with the eval's sender's sender for caller(4) in eval - shows the current line in the calling block twice when evaled @@ 40741 @@ ) +Kernel#caller in a Proc or eval returns the definition trace of a block when evaluated in a Proc binding FAILED +Expected "(eval):1:in `'" +to match /caller_fixture1\.rb:4:in `'/ +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:96:in `block (3 levels) in ' +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:45:in `' ) +Kernel#caller in a Proc or eval returns the definition trace of a Proc FAILED +Expected "(eval):1:in `example_proc'" +to match /caller_fixture1\.rb:14:in `example_proc'/ +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:104:in `block (3 levels) in ' +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:45:in `' ) +Kernel#caller in a Proc or eval returns the correct definition line for a complex Proc trace FAILED +Expected "(eval):1:in `third'" + to match /caller_fixture1\.rb:29:in `third'/ +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:122:in `block (3 levels) in ' +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:45:in `' Finished in seconds +1 file, 12 examples, 24 expectations, 3 failures, 0 errors exit 1 +failed(rubyspec/core/kernel/caller_spec.rb) == rubyspec/core/kernel/case_compare_spec.rb #