#73 patch to unit test / AIX

v4.0
closed
5
2012-08-14
2008-11-16
No

Hello,
I have attached a small patch so the the unit test compile with svn 3695.
Bye
Rainer

Discussion

  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    Hello,
    the svn parameter for the following files are not correct. If I do a checkout they contain CRLF:

    orxclassicexits.cpp
    orxclassicexits.def
    orxexits.hpp
    orxinstance.cpp
    orxinvocation.cpp

    Bye
    Rainer

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    Hello,
    I have updated the patch so that the new API tests gets compiled.
    CAUTION: I have tried to adjust the Makefile.linux but I could not try it.

    I also have attached the log of two failing tests.

    Bye
    Rainer

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    ooRexx-Unit-Test-3695.patch

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    testOORexx-3695.log

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    testOORexx-3695.INVOCATION.testGroup

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    testOORexx-3695.log-RexxStart.testGroup

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    ooRexx-Unit-Test-3697.path

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    Hello,
    sorry, I have forgotten the "lib" in front of the new .so files...
    Attached patch for 3697.
    Bye
    Rainer

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-16

    Hello,
    unfortunately the missing lib was not the root cause for the failures with the new tests...
    I can see that the shared libs gets loaded:

    genkld | grep daten
    d01d6000 160f /daten/svn/ooRexx/test/trunk/bin/AIX/liborxclassic1.so
    d0b30000 88e6 /daten/svn/ooRexx/test/trunk/bin/AIX/liborxinvocation.so
    d0b1e000 a87c /daten/svn/ooRexx/test/trunk/bin/AIX/liborxfunction.so
    d1a2e000 38c27 /daten/svn/ooRexx/test/trunk/bin/AIX/liborxmethod.so
    d08c5000 6ef0 /daten/svn/ooRexx/test/trunk/bin/AIX/liborxclassic.so

    But I still get an Syntax error:

    [Framework exception] [20081116 19:09:51.024168]
    Type: Trap Severity: Fatal
    File: /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/RexxStart.testGroup
    Line: 56
    Failed to load the external API package needed for this test group.
    Condition: SYNTAX
    Unable to load library "orxinvocation"
    56 - .context~package~loadPackage('INVOCATIONTester.cls')

    [Framework exception] [20081116 19:09:51.068422]
    Type: Trap Severity: Fatal
    File: /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/INVOCATION.testGroup
    Line: 56
    Failed to load the external API package needed for this test group.
    Condition: SYNTAX
    Unable to load library "orxinvocation"
    56 - .context~package~loadPackage('INVOCATIONTester.cls')

    [Framework exception] [20081116 19:09:51.113678]
    Type: Trap Severity: Fatal
    File: /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/ProcessInvocation.testGroup
    Line: 56
    Failed to load the external API package needed for this test group.
    Condition: SYNTAX
    Unable to load library "orxinvocation"
    56 - .context~package~loadPackage('INVOCATIONTester.cls')

    [Framework exception] [20081116 19:09:51.164894]
    Type: Trap Severity: Fatal
    File: /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/ProcessRexxStart.testGroup
    Line: 56
    Failed to load the external API package needed for this test group.
    Condition: SYNTAX
    Unable to load library "orxinvocation"
    56 - .context~package~loadPackage('INVOCATIONTester.cls')

    The other API tests are running just fine.

    Bye
    Rainer

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-17

    ooRexx-Unit-Test-3703.patch

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-17

    testOORexx-3703.log

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-17

    Hello,
    I have attached a patch for 3703. With this patch I get the following result on AIX:

    ooTest Framework - Automated Test of the ooRexx Interpreter

    Interpreter: REXX-ooRexx_4.0.0(MT) 6.03 16 Nov 2008
    ooRexxUnit: 2.0.0_3.2.0 ooTest: 1.0.0_4.0.0

    Tests ran: 18776
    Assertions: 551080
    Failures: 0
    Errors: 0
    Skipped files: 21

    File search: 00:00:11.574041
    Suite construction: 00:00:06.395670
    Test execution: 00:04:13.695885
    Total time: 00:04:36.414776

    There are some error messages in the test log but I suppose that this is OK:

    REX0048E: Error 48 running /daten/svn/ooRexx/test/trunk/ooRexx/API/oo/tests/commandExit.rex line 48: Failure in system service
    REX0425E: Error 48.1: Failure in system service: RXCMD
    .. 43 - interpret return t
    43 - interpret return target

    ... see attached log file for full log...

    If this is OK could you please attache the patch ?

    Bye
    Rainer

     
  • Rick McGuire

    Rick McGuire - 2008-11-17

    Those errors in the log are generated by the very things the tests are checking for, and can't really be suppressed. They're not a problem.

     
  • Rainer Tammer

    Rainer Tammer - 2008-11-17

    Hello,
    OK, so it looks pretty good now. All new tests passes on AIX.
    Bye
    Rainer

     
  • Mark Miesfeld

    Mark Miesfeld - 2008-11-17

    Committed revision 3704.

    Thanks Rainer.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks