From: Tanaka Akira Date: 2011-08-09T23:00:29+09:00 Subject: Re: problem running pipeline 2011/8/9 Michal Suchanek : > > Inserting a method call by patching in > > somename args > end > def somename args > > produces lockup. > > I guess I could construct the pipeline in a single method but why > would inserting a method call break otherwise working code is a > mystery. use -d. % ruby-1.8.7p352 -d tc_pipeline.rb Loaded suite tc_pipeline Started Exception `LocalJumpError' at ./pipeline.rb:50 - no block given ./pipeline.rb:50:in `run_pipeline_w_ios': no block given (LocalJumpError) from ./pipeline.rb:50:in `initialize' from ./pipeline.rb:50:in `new' from ./pipeline.rb:50:in `run_pipeline_w_ios' from ./pipeline.rb:41:in `run_pipeline_w' from tc_pipeline.rb:23:in `test_cat' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testcase.rb:78:in `__send__' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testcase.rb:78:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' from /home/ruby/187p352/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' from /home/ruby/187p352/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' from /home/ruby/187p352/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' from /home/ruby/187p352/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' from /home/ruby/187p352/lib/ruby/1.8/test/unit.rb:279 from tc_pipeline.rb:29 You don't pass the block. -- Tanaka Akira