Ok, assuming all the rest of the tests in that test group succeed, it
is likely a problem with the processing of the loadLibrary option.
Here's what's happening with these tests.  These variations test the
oo APIs when an instance is getting created in a separate process
(i.e., one where Rexx has not been called before).  To do this, it
constructs a command with a bunch of options representing the various
Rexx instance options and invokes that as a command.  The command
program is in rexxinstance.cpp.

Again, assuming this is working for other variations, then there's
probably something wrong with the environment that's causing an error
when trying to load rxmath .  It's likely that this process did not
end up inheriting everything it needs to be able to load rxmath.  This
same set of options are used for in-process invocations also, so that
part appears to be working.  This option is processed in
InterpreterInstance.cpp....just search for LOAD_REQUIRED_LIBRARY.
Some printfs around that section and the code it calls would help
narrow things down a bit.

Rick

On Sun, Jan 24, 2010 at 5:09 PM, Mark Miesfeld <[email protected]> wrote:
> I'm running the test suite on Linux, Fedora core 10 64-bit to be specific.
>
> I get 1 test case error with a pure build of trunk.  (I.e., no changes
> to the code base at all.)
>
> [failure] [20100124 13:54:21.251357]
>  svn:    r4817   Change date: 2009-06-18 13:10:10 -0700
>  Test:   TESTLOADLIBRARY
>  Class:  ProcessInvocation.testGroup
>  File:   /work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/ProcessInvocation.testGroup
>  Line:   892
>  Failed: assertEquals
>    Expected: [[2], identityHash="17492628931590"]
>    Actual:   [[The NIL object], identityHash="17492628930280"]
>
> This specific test invokes tests/callMath.rex  Using a say statement,
> I see that callMath.rex is not entered.  The program itself is simple:
>
> return rxcalcsqrt(4)
>
> In the INVOCATIONTester.cls when it gets to callMath.rex, I see the
> subject line print in the shell:
>
> ...
> programName: /work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/tests/initialAddress.rex
> programName: /work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/tests/initialAddress.rex
> programName: /work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/tests/callMath.rex
> terminate called after throwing an instance of 'ActivityException'
> programName: /work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/tests/callPath.rex
> ...
>
> Since I can't find that string, (or even the string 'called after
> throwing',) anywhere in the test suite files or in the interpreter
> source files, I think it might be coming from the C++ runtime.
>
> Anyone have any ideas on what to look for to debug it?
>
> The test passes on Windows and I haven't tried on any other Linux versions.
>
> --
> Mark Miesfeld
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to