From: Mark M. <mie...@gm...> - 2007-10-29 04:23:44
|
SVN head has a problem locating public routines. runTestUnits.rex has a requires for ooRexxUnit.cls. In ooRexxUnit.cls is the public routine pp(). runTestUnits calls that pretty early in its execution: E:\work.ooRexx\ooRexxUnit\3.x\framework>runTestUnits.rex 78 *-* say "searchFile="pp(searchFile)", SysFileTree()-switches:" pp(switches) "formatter:" formatter "..." Error 43 running E:\work.ooRexx\ooRexxUnit\3.x\framework\runTestUnits.rex line 78: Routine not found Error 43.1: Could not find routine "PP" Another public routine in ooRexxUnit.cls is enQuote(). I stuck a call to that towards the start of execution: E:\work.ooRexx\ooRexxUnit\3.x\framework>runTestUnits.rex 78 *-* str = enQuote(ted) Error 43 running E:\work.ooRexx\ooRexxUnit\3.x\framework\runTestUnits.rex line 78: Routine not found Error 43.1: Could not find routine "ENQUOTE" This is with a fresh check out of trunk at rev 1128 without any of the current changes I am working on. I ran all the unit tests with rev 1117 without problems. Unfortunately, I don't know where in the code the lookup of routines begins, so I haven't made any progress debugging. ;-( -- Mark Miesefeld |
From: Mark M. <mie...@gm...> - 2007-10-29 04:31:09
|
On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > SVN head has a problem locating public routines. Rick, here's a simple test program that shows this: /* qtest.rex */ j = speak("Hello") ::requires "myRoutines.cls" /* myRoutines.cls */ ::routine speak say arg(1) return 0 Output: E:\work.ooRexx\3.x\wc>qtest.rex 3 *-* j = speak("Hello") Error 43 running E:\work.ooRexx\3.x\wc\qtest.rex line 3: Routine not found Error 43.1: Could not find routine "SPEAK" -- Mark Miesfeld |
From: Mark M. <mie...@gm...> - 2007-10-29 05:25:40
|
On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > > SVN head has a problem locating public routines. > > Rick, here's a simple test program that shows this: > > /* qtest.rex */ > > j = speak("Hello") > > ::requires "myRoutines.cls" > > /* myRoutines.cls */ > ::routine speak Should of course be: ::routine speak public > say arg(1) > return 0 > > > Output: > > E:\work.ooRexx\3.x\wc>qtest.rex > 3 *-* j = speak("Hello") > Error 43 running E:\work.ooRexx\3.x\wc\qtest.rex line 3: Routine not found > Error 43.1: Could not find routine "SPEAK" > > -- > Mark Miesfeld > |
From: Mark M. <mie...@gm...> - 2007-10-29 06:19:46
|
On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > > SVN head has a problem locating public routines. > > Rick, here's a simple test program that shows this: Commit 1129 fixes this. In RexxActivation::loadRequired one of the renames of method was missed. But, now there is an access violation crash when I run the ooRexxUnit tests. -- Mark Miesfeld |
From: Rick M. <obj...@gm...> - 2007-10-29 11:14:20
|
Ok, the crash is fixed. Also fixed a couple of regressions where svn merge actually backed out a couple of trunk fixes. Rick On 10/29/07, Mark Miesfeld <mie...@gm...> wrote: > > On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > > On 10/28/07, Mark Miesfeld <mie...@gm...> wrote: > > > SVN head has a problem locating public routines. > > > > Rick, here's a simple test program that shows this: > > Commit 1129 fixes this. In RexxActivation::loadRequired one of the > renames of method was missed. > > But, now there is an access violation crash when I run the ooRexxUnit > tests. > > -- > Mark Miesfeld > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Oorexx-devel mailing list > Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > |