diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-16 19:16:40 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-16 19:16:40 +0000 |
commit | 7921c265690e4755b6cadffe46592dfedd39829d (patch) | |
tree | a48283b8eb9814afe9d277e2c257d0ee718cd4f9 | |
parent | 799aff3f2043dee95e691fbebae4bd8a10fb57b3 (diff) | |
download | ATCD-7921c265690e4755b6cadffe46592dfedd39829d.tar.gz |
Mon Mar 16 19:17:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/RTCORBA/Collocation/run_test.pl:
* tests/RTCORBA/ORB_init/run_test.pl:
* tests/RTCORBA/RTMutex/run_test.pl:
* bin/tao_orb_tests.lst:
Converted to the new test framework
-rw-r--r-- | TAO/ChangeLog | 28 | ||||
-rw-r--r-- | TAO/bin/tao_orb_tests.lst | 6 | ||||
-rwxr-xr-x | TAO/tests/RTCORBA/Collocation/run_test.pl | 11 | ||||
-rwxr-xr-x | TAO/tests/RTCORBA/ORB_init/run_test.pl | 13 | ||||
-rwxr-xr-x | TAO/tests/RTCORBA/RTMutex/run_test.pl | 13 |
5 files changed, 35 insertions, 36 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 35a366f55d6..39c85d908d9 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,26 +1,34 @@ +Mon Mar 16 19:17:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl> + + * tests/RTCORBA/Collocation/run_test.pl: + * tests/RTCORBA/ORB_init/run_test.pl: + * tests/RTCORBA/RTMutex/run_test.pl: + * bin/tao_orb_tests.lst: + Converted to the new test framework + Mon Mar 16 18:35:09 UTC 2009 Marcel Smit <msmit@remedy.nl> * tao/Compression/zlib/ZlibCompressor.cpp: Fixed error when compressing a small number of bytes. It should be compliant to ZLib spec now. - + * tests/Compression/bzip2server.cpp: * tests/Compression/lzoserver.cpp: * tests/Compression/zlibserver.cpp: - Extended tests with compression of a small + Extended tests with compression of a small number of bytes. Mon Mar 16 16:31:25 UTC 2009 Marcel Smit <msmit@remedy.nl> * tao/Compression/bzip2/Bzip2Compressor.cpp: Fix issue when compressing just a few bytes. - + * tao/GIOP_Message_Base.cpp: Fixed logging errors. - + * tao/ZIOP/ZIOP.cpp: * tao/ZIOP/ZIOP.h: - Optimized log information. + Optimized log information. Better handling of exceptions/return values (GIOP should be used). @@ -36,20 +44,20 @@ Mon Mar 16 16:31:25 UTC 2009 Marcel Smit <msmit@remedy.nl> * tests/ZIOP/ZIOP.mpc: Added testcompressor. This compressor just throws compression and decompression exceptions. These exception - should be handled properly by ZIOP. - + should be handled properly by ZIOP. + * tests/ZIOP/client.cpp: * tests/ZIOP/run_test.pl: * tests/ZIOP/server.cpp: - Optimized tests. Refactored code by using + Optimized tests. Refactored code by using functions. Optimized tests when TAO_HAS_ZIOP define is zero or not defined. - Added test compressor. + Added test compressor. Mon Mar 16 15:52:33 UTC 2009 Jeff Parsons <j.parsons@vanderbilt.edu> * TAO_IDL/be/be_enum.cpp(gen_ostream_operator): - + For the (optional) generation of an ostream operator for enums, changed the code generation to use the actual enum value for the switch cases, rather than the equivalent diff --git a/TAO/bin/tao_orb_tests.lst b/TAO/bin/tao_orb_tests.lst index 1fc0fff5290..c256caefb8a 100644 --- a/TAO/bin/tao_orb_tests.lst +++ b/TAO/bin/tao_orb_tests.lst @@ -160,19 +160,19 @@ TAO/tests/RTCORBA/Activate_Object_Multiple_ORBs/run_test.pl: !MINIMUM !CORBA_E_C TAO/tests/RTCORBA/Banded_Connections/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Client_Propagated/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST TAO/tests/RTCORBA/Client_Protocol/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !IPV6 !ACE_FOR_TAO !LabVIEW_RT !WinCE !FUZZ -TAO/tests/RTCORBA/Collocation/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ +TAO/tests/RTCORBA/Collocation/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST TAO/tests/RTCORBA/Destroy_Thread_Pool/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Explicit_Binding/run_test.pl: !VxWorks !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !IPV6 !ACE_FOR_TAO !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Linear_Priority/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ !LynxOS TAO/tests/RTCORBA/MT_Client_Protocol_Priority/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !ACE_FOR_TAO !OpenVMS_IA64Crash !LabVIEW_RT !WinCE !FUZZ -TAO/tests/RTCORBA/ORB_init/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !LabVIEW_RT !WinCE !FUZZ +TAO/tests/RTCORBA/ORB_init/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO TAO/tests/RTCORBA/Persistent_IOR/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Policies/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Policy_Combinations/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Priority_Inversion_With_Bands/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !ACE_FOR_TAO !OpenVMS_IA64Crash !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Private_Connection/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/run_test.pl: !VxWorks !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !IPV6 !ACE_FOR_TAO !LabVIEW_RT !WinCE !FUZZ -TAO/tests/RTCORBA/RTMutex/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ +TAO/tests/RTCORBA/RTMutex/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST TAO/tests/RTCORBA/Server_Declared/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Server_Protocol/run_test.pl: !VxWorks !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !IPV6 !ACE_FOR_TAO !LabVIEW_RT !WinCE !FUZZ TAO/tests/RTCORBA/Thread_Pool/run_test.pl: !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !ST !ACE_FOR_TAO !LabVIEW_RT !WinCE !FUZZ diff --git a/TAO/tests/RTCORBA/Collocation/run_test.pl b/TAO/tests/RTCORBA/Collocation/run_test.pl index 46d8206fc43..1530202e0a5 100755 --- a/TAO/tests/RTCORBA/Collocation/run_test.pl +++ b/TAO/tests/RTCORBA/Collocation/run_test.pl @@ -6,18 +6,15 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' # -*- perl -*- use lib "$ENV{ACE_ROOT}/bin"; -use PerlACE::Run_Test; +use PerlACE::TestTarget; $continuous = ($^O eq 'hpux'); print STDERR "\n********** RTCORBA Collocation Unit Test **********\n\n"; -if (PerlACE::is_vxworks_test()) { - $T = new PerlACE::ProcessVX ("Collocation"); -} -else { - $T = new PerlACE::Process ("Collocation"); -} +my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; + +$T = $server->CreateProcess ("Collocation"); if ($continuous) { $T->Arguments("-ORBSvcConf continuous$PerlACE::svcconf_ext"); diff --git a/TAO/tests/RTCORBA/ORB_init/run_test.pl b/TAO/tests/RTCORBA/ORB_init/run_test.pl index 3f20a5b7483..87716f406d6 100755 --- a/TAO/tests/RTCORBA/ORB_init/run_test.pl +++ b/TAO/tests/RTCORBA/ORB_init/run_test.pl @@ -6,18 +6,15 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' # -*- perl -*- use lib "$ENV{ACE_ROOT}/bin"; -use PerlACE::Run_Test; +use PerlACE::TestTarget; print STDERR "\n********** RTCORBA ORB_init Unit Test **********\n\n"; -if (PerlACE::is_vxworks_test()) { - $T = new PerlACE::ProcessVX ("ORB_init"); -} -else { - $T = new PerlACE::Process ("ORB_init"); -} +my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; + +$SV = $server->CreateProcess ("ORB_init"); -$test = $T->SpawnWaitKill (60); +$test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval()); if ($test != 0) { print STDERR "ERROR: test returned $test\n"; diff --git a/TAO/tests/RTCORBA/RTMutex/run_test.pl b/TAO/tests/RTCORBA/RTMutex/run_test.pl index 30ceabb45c4..9ec5fd22f2d 100755 --- a/TAO/tests/RTCORBA/RTMutex/run_test.pl +++ b/TAO/tests/RTCORBA/RTMutex/run_test.pl @@ -6,18 +6,15 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' # -*- perl -*- use lib "$ENV{ACE_ROOT}/bin"; -use PerlACE::Run_Test; +use PerlACE::TestTarget; print STDERR "\n********** RTCORBA RTMutex Unit Test **********\n\n"; -if (PerlACE::is_vxworks_test()) { - $T = new PerlACE::ProcessVX ("server"); -} -else { - $T = new PerlACE::Process ("server"); -} +my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; + +$SV = $server->CreateProcess ("server"); -$test = $T->SpawnWaitKill (60); +$test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval()); if ($test != 0) { print STDERR "ERROR: test returned $test\n"; |