[omniORB] C.O.S.T testing results + questions

Harri Pasanen harri.pasanen@trema.com
Mon, 14 May 2001 17:41:19 +0200


I finally got the chance to run the COST testing suite
(http://cost.omg.org/) on omniORB3, hp-ux 11.00, compiled with KCC. 
The testing script does not appear to produce any summary report,
but the output is intermixed with the compiler output, correct?  

A couple of the test applications failed to compile, due to what at
first glance seem valid errors detected by KCC.  I've included a few
errors that were reproduced over various files in generated code.

To give you an idea of the successes, if I do "grep -n PASSED
test-results.log" I have 342 matches.

I am unsure whether this mailing list is a proper place for this, or
should I contact directly the people involved with COST?  

Regards,

Harri Pasanen


Building anySeqTest on localhost
../bin/hppa_hpux_11.00/omkdepend -D__cplusplus -I. -I../include
-D__hppa__ -D__hpux__ -D__OSVERSION__=11 -D__OMNIORB3__
-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -I/work/harri/omni/include
-I. -I.. server.cc client.cc
/bin/sh: ../bin/hppa_hpux_11.00/omkdepend:  not found.
/usr/local/bin/KCC -c +K0 --one_per --thread_safe --exceptions +Z 
-I.  -I../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11
-D__OMNIORB3__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L
-I/work/harri/omni/include  -I. -I..  -ldir client.cc -o client.o
"client.cc", line 252: error: more than one operator ">>=" matches
these
          operands:
            function "operator>>=(const CORBA::Any &, const seqA
*&)"
            function
"CORBA::Any_var::operator>>=(CORBA::Any::to_boolean)
                      const"
            operand types are: CORBA::Any_var >>= const seqA *
      if (!(copy_any >>= copy_v)) {
                     ^

"client.cc", line 260: error: more than one operator ">>=" matches
these
          operands:
            function "operator>>=(const CORBA::Any &, const seqA
*&)"
            function
"CORBA::Any_var::operator>>=(CORBA::Any::to_boolean)
                      const"
            operand types are: CORBA::Any_var >>= const seqA *
      if (!(copy_any >>= copy_v)) {
                     ^

"client.cc", line 268: error: more than one operator ">>=" matches
these
          operands:
            function "operator>>=(const CORBA::Any &, const seqA
*&)"
            function
"CORBA::Any_var::operator>>=(CORBA::Any::to_boolean)
                      const"
            operand types are: CORBA::Any_var >>= const seqA *
      if (!(copy_any >>= copy_v)) {
                     ^

"client.cc", line 299: warning: missing return statement at end of
non-void
          function "MyApp::testany"
  }
  ^

3 errors detected in the compilation of "client.cc".
KCC: Compilation failed.

-----------------------------------

Building anyTest on localhost
../bin/hppa_hpux_11.00/omkdepend -D__cplusplus -I. -I../include
-D__hppa__ -D__hpux__ -D__OSVERSION__=11 -D__OMNIORB3__
-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -I/work/harri/omni/include
-I. -I.. server.cc
/bin/sh: ../bin/hppa_hpux_11.00/omkdepend:  not found.
/usr/local/bin/KCC -c +K0 --one_per --thread_safe --exceptions +Z 
-I.  -I../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11
-D__OMNIORB3__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L
-I/work/harri/omni/include  -I. -I..  -ldir basic.cc -o basic.o
"basic.cc", line 60: warning: missing return statement at end of
non-void
          function "MyApp::testany"
  }
  ^

"basic.cc", line 89: error: more than one operator ">>=" matches
these
          operands:
            function "operator>>=(const CORBA::Any &, anyEcho_ptr
&)"
            function
"CORBA::Any_var::operator>>=(CORBA::Any::to_boolean)
                      const"
            function
"CORBA::Any_var::operator>>=(CORBA::Any::to_object) const"
            operand types are: CORBA::Any_var >>= anyEcho_ptr
    if (!(a2 >>= v2))
             ^

1 error detected in the compilation of "basic.cc".
KCC: Compilation failed.

-------------------------------------

Building anyUnionTest on localhost
../bin/hppa_hpux_11.00/omkdepend -D__cplusplus -I. -I../include
-D__hppa__ -D__hpux__ -D__OSVERSION__=11 -D__OMNIORB3__
-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -I/work/harri/omni/include
-I. -I.. anyParse.cc anyUnionTest_i.cc testAnyServer.cc
testAnyClient.cc
/bin/sh: ../bin/hppa_hpux_11.00/omkdepend:  not found.
/usr/local/bin/KCC -c +K0 --one_per --thread_safe --exceptions +Z 
-I.  -I../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11
-D__OMNIORB3__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L
-I/work/harri/omni/include  -I. -I..  -ldir testAnyServer.cc -o
testAnyServer.o
"anyUnionTest.hh", line 1392: error: class
          "_CORBA_ObjRef_Member<_objref_anyUnionTest,
anyUnionTest_Helper>"
          has no member "__ptr"
    anyUnionTest_ptr tAU () const { return _pd_tAU._ptr; }
                                                   ^

1 error detected in the compilation of "testAnyServer.cc".
KCC: Compilation failed.
make: *** [testAnyServer.o] Error 2