COMMIT Binding preserves __FILE__ and __LINE__ of which binding was created http://github.com/rubyspec/rubyspec/commit/342d5f7191746e8a2b440f2f228deb2dea6308e8 =================================================================== +++ 20100510T054714 @@ 11 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1 ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170?\227?\129?\174?\227?\131?\171?\227?\131?\188?\227?\131?\136: http://svn.ruby-lang.org/repos/ruby ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170 UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +?\227?\131?\170?\227?\131?\147?\227?\130?\184?\227?\131?\167?\227?\131?\179: 27716 ?\227?\131?\142?\227?\131?\188?\227?\131?\137?\231?\168?\174?\229?\136?\165: ?\227?\131?\135?\227?\130?\163?\227?\131?\172?\227?\130?\175?\227?\131?\136?\227?\131?\170 ?\230?\186?\150?\229?\130?\153?\228?\184?\173?\227?\129?\174?\229?\135?\166?\231?\144?\134: ?\231?\137?\185?\227?\129?\171?\227?\129?\170?\227?\129?\151 ?\230?\156?\128?\231?\181?\130?\229?\164?\137?\230?\155?\180?\232?\128?\133: yugui @@ 19750 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/tk/sample/tkmultilistbox.rb:: warning: shadowing outer local variable - idx /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//ruby/ext/tk/sample/tkmultilistbox.rb:: warning: `*' interpreted as argument prefix s: . +TestSystem#test_system: /Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//tmp/ruby_script_tmp20100510-58120-14djsbm/ruby_script_tmp.58120:: warning: global variable `$zzz' not initialized s: . TestTCPSocket#test_encoding: s: . TestTCPSocket#test_recvfrom: s: . @@ 22941 @@ | /Users/chkbuild/chkbuild/timeoutcom.rb:164:in `timeout_command' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `popen' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `timeout_command' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:753:in `run' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:268:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:255:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `call' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:331:in `with_procmemsize' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:282:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:255:in `child_build_target' | /Users/chkbuild/chkbuild/chkbuild/build.rb:241:in `child_build_wrapper' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:57:in `lock_puts' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:52:in `lock_puts' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:239:in `child_build_wrapper' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:199:in `build_and_exit' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:189:in `internal_build' | /Users/chkbuild/chkbuild/chkbuild/main.rb:100:in `main_internal_build' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each_build_obj' @@ 27268 @@ | /Users/chkbuild/chkbuild/timeoutcom.rb:164:in `timeout_command' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `popen' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `timeout_command' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:753:in `run' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:290:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:277:in `def_target' +| /Users/chkbuild/chkbuild/util.rb:322:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:286:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:285:in `catch' +| /Users/chkbuild/chkbuild/util.rb:285:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:322:in `stable_find' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:272:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:271:in `each' | /Users/chkbuild/chkbuild/chkbuild/ruby.rb:271:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `call' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:331:in `with_procmemsize' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:282:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:255:in `child_build_target' | /Users/chkbuild/chkbuild/chkbuild/build.rb:241:in `child_build_wrapper' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:57:in `lock_puts' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:52:in `lock_puts' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:239:in `child_build_wrapper' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:199:in `build_and_exit' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:189:in `internal_build' | /Users/chkbuild/chkbuild/chkbuild/main.rb:100:in `main_internal_build' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each_build_obj' @@ 27331 @@ | /Users/chkbuild/chkbuild/timeoutcom.rb:164:in `timeout_command' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `popen' | /Users/chkbuild/chkbuild/timeoutcom.rb:116:in `timeout_command' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:753:in `run' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:290:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:277:in `def_target' +| /Users/chkbuild/chkbuild/util.rb:322:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:286:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:285:in `catch' +| /Users/chkbuild/chkbuild/util.rb:285:in `stable_find' +| /Users/chkbuild/chkbuild/util.rb:322:in `stable_find' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:272:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/ruby.rb:271:in `each' | /Users/chkbuild/chkbuild/chkbuild/ruby.rb:271:in `def_target' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `call' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:343:in `catch_error' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:283:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:331:in `with_procmemsize' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:282:in `do_build' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:255:in `child_build_target' | /Users/chkbuild/chkbuild/chkbuild/build.rb:241:in `child_build_wrapper' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:57:in `lock_puts' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:798:in `open' | /Users/chkbuild/chkbuild/chkbuild/lock.rb:52:in `lock_puts' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:239:in `child_build_wrapper' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:199:in `build_and_exit' +| /Users/chkbuild/chkbuild/chkbuild/build.rb:189:in `internal_build' | /Users/chkbuild/chkbuild/chkbuild/main.rb:100:in `main_internal_build' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each' | /Users/chkbuild/chkbuild/chkbuild/target.rb:153:in `each_build_obj' @@ 40814 @@ - 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 @@ 40828 @@ ) +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 `'/ +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:96:in `block (3 levels) in ' +/Users/chkbuild/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'/ +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:104:in `block (3 levels) in ' +/Users/chkbuild/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'/ +/Users/chkbuild/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb:122:in `block (3 levels) in ' +/Users/chkbuild/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 #