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

Sai-Lai Lo S.Lo@uk.research.att.com
15 May 2001 17:43:48 +0100


[ For everyone else, the omniorb testsuite as well as other ORB vendors'
are available for download from cost.omg.org. Do check it out...]

Harri,

I suppose you have successfuly used the remote-executor and the
test-controller.

The default setup is to output everything. I suggest you edit
$(top)/scripts/testconf.py:

conf_verbose = 0

This will disable the normal output. When this is done, the testsuite will
run and only report any tests that fail. The output is a complete dump of
the output of both the client and server programs and the compiler output.

The logic behind the design is that one is only interested in negative
results.

Sai-Lai

>>>>> Harri Pasanen writes:

> 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