summaryrefslogtreecommitdiff
path: root/tests/CIAO_ComponentServer/Basic/run_test.pl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:41:53 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:41:53 +0000
commitff85f8bbe257861e5bc13bb953f7968e4bf38957 (patch)
tree04253be1a3ca669a6b5149e93cadd40c3862fe89 /tests/CIAO_ComponentServer/Basic/run_test.pl
parent1576f18f4563b78b9c534866f894217dbda4a116 (diff)
downloadATCD-remove_componentserver.tar.gz
Fri Jun 18 14:40:25 UTC 2010 William R. Otte <wotte@dre.vanderbilt.edu>remove_componentserver
* DAnCE/LocalityManager/Daemon/Locality_Manager.mpc: * DAnCE/LocalityManager/Handler/LocalityHandler.mpc: * DAnCE/LocalityManager/Scheduler/Scheduler.mpc: * MPC/config/ciao_deployment_handlers.mpb: * ciao/ComponentServer/CIAO_Base.mpc: * ciao/ComponentServer/Client_init.h: * ciao/ComponentServer/Server_init.h: * ciao/Containers/Session/Session_Container.cpp: * ciao/Containers/Session/Session_Container.mpc: * ciao/Deployment/Handlers/CIAO_Deployment_Handlers.mpc: * tests/CIF/Common/CIF_Common.mpc: * tests/CIF/Receptacle/Receptacle.mpc: * MPC/config/ciao_componentserver_stub.mpb: * MPC/config/ciao_componentserver_svnt.mpb: * MPC/config/ciao_cs_client.mpb: * ciao/ComponentServer/CIAO_CS_Client.idl: * ciao/ComponentServer/CIAO_ComponentInstallation_Impl.h: * ciao/ComponentServer/CIAO_ComponentInstallation_Impl.cpp: * ciao/ComponentServer/CIAO_ComponentServer.cpp: * ciao/ComponentServer/CIAO_ComponentServer.idl: * ciao/ComponentServer/CIAO_ComponentServer.mpc: * ciao/ComponentServer/CIAO_ComponentServer_Impl.h: * ciao/ComponentServer/CIAO_ComponentServer_Impl.cpp: * ciao/ComponentServer/CIAO_ComponentServer_Task.h: * ciao/ComponentServer/CIAO_ComponentServer_Task.cpp: * ciao/ComponentServer/CIAO_Container_Impl.h: * ciao/ComponentServer/CIAO_Container_Impl.cpp: * ciao/ComponentServer/CIAO_RTComponentServer.cpp: * ciao/ComponentServer/CIAO_RTComponentServer_Task.h: * ciao/ComponentServer/CIAO_RTComponentServer_Task.cpp: * ciao/ComponentServer/CIAO_ServerActivator_Impl.h: * ciao/ComponentServer/CIAO_ServerActivator_Impl.cpp: * tests/CIAO_ComponentServer: * tests/CIAO_ComponentServer/Activator: * tests/CIAO_ComponentServer/Activator/Activator.mpc: * tests/CIAO_ComponentServer/Activator/client.cpp: * tests/CIAO_ComponentServer/Activator/run_test.pl: * tests/CIAO_ComponentServer/Basic: * tests/CIAO_ComponentServer/Basic/Basic.mpc: * tests/CIAO_ComponentServer/Basic/client.cpp: * tests/CIAO_ComponentServer/Basic/run_test.pl: * tests/CIAO_ComponentServer/Local_Facet: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet.idl: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet.mpc: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.cpp: * tests/CIAO_ComponentServer/Local_Facet/client.cpp: * tests/CIAO_ComponentServer/Local_Facet/run_test.pl: * tests/CIAO_ComponentServer/SimpleComponent: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent.idl: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent.mpc: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp: * tests/CIAO_ComponentServer/SimpleComponent/client.cpp: * tests/CIAO_ComponentServer/SimpleComponent/run_test.pl: Initial work to remove CIAO ComponentServer
Diffstat (limited to 'tests/CIAO_ComponentServer/Basic/run_test.pl')
-rwxr-xr-xtests/CIAO_ComponentServer/Basic/run_test.pl110
1 files changed, 0 insertions, 110 deletions
diff --git a/tests/CIAO_ComponentServer/Basic/run_test.pl b/tests/CIAO_ComponentServer/Basic/run_test.pl
deleted file mode 100755
index ed2f80825a6..00000000000
--- a/tests/CIAO_ComponentServer/Basic/run_test.pl
+++ /dev/null
@@ -1,110 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# $Id$
-# -*- perl -*-
-
-use lib "$ENV{ACE_ROOT}/bin";
-use PerlACE::TestTarget;
-
-$status = 0;
-$debug_level = '0';
-$ciao_root = "$ENV{CIAO_ROOT}";
-
-foreach $i (@ARGV) {
- if ($i eq '-debug') {
- $debug_level = '10';
- }
-}
-
-my $target = PerlACE::TestTarget::create_target (1);
-my $host = new PerlACE::TestTarget;
-
-$iorbase1 = "server1.ior";
-$iorbase2 = "server2.ior";
-
-$server_iorfile1 = $target->LocalFile ($iorbase1);
-$server_iorfile2 = $target->LocalFile ($iorbase2);
-
-$target->DeleteFile($iorbase1);
-$target->DeleteFile($iorbase2);
-
-$client_iorfile1 = $host->LocalFile ($iorbase1);
-$client_iorfile2 = $host->LocalFile ($iorbase2);
-
-$host->DeleteFile($iorbase1);
-$host->DeleteFile($iorbase2);
-
-$SV1 = $target->CreateProcess ("$ciao_root/bin/ciao_componentserver", "-ORBDebuglevel $debug_level -u $server_iorfile1 -o $server_iorfile1");
-$SV2 = $target->CreateProcess ("$ciao_root/bin/ciao_componentserver", "-ORBDebuglevel $debug_level -u $server_iorfile2 -o $server_iorfile2");
-
-$CL = $host->CreateProcess ("client", "-k file://$client_iorfile1 -j file://$client_iorfile2");
-
-$server_status1 = $SV1->Spawn ();
-$server_status2 = $SV2->Spawn ();
-
-if ($server_status1 != 0) {
- print STDERR "ERROR: server1 returned $server_status1\n";
- exit 1;
-}
-if ($server_status2 != 0) {
- print STDERR "ERROR: server2 returned $server_status2\n";
- exit 1;
-}
-
-if ($target->WaitForFileTimed ($iorbase1,
- $target->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find file <$server_iorfile1>\n";
- $SV1->Kill (); $SV1->TimedWait (1);
- exit 1;
-}
-
-if ($target->WaitForFileTimed ($iorbase2,
- $target->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find file <$server_iorfile2>\n";
- $SV2->Kill (); $SV2->TimedWait (1);
- exit 1;
-}
-
-if ($target->GetFile ($server_iorfile1, $iorbase) == -1) {
- print STDERR "ERROR: cannot retrieve file <$iorbase1>\n";
- $SV1->Kill (); $SV1->TimedWait (1);
- exit 1;
-}
-
-if ($target->GetFile ($server_iorfile2, $iorbase) == -1) {
- print STDERR "ERROR: cannot retrieve file <$iorbase2>\n";
- $SV2->Kill (); $SV2->TimedWait (1);
- exit 1;
-}
-
-$client_status = $CL->SpawnWaitKill ($host->ProcessStartWaitInterval ());
-
-if ($client_status != 0) {
- print STDERR "ERROR: client returned $client_status\n";
- $status = 1;
-}
-
-$server_status1 = $SV1->WaitKill ($target->ProcessStopWaitInterval ());
-$server_status2 = $SV2->WaitKill ($target->ProcessStopWaitInterval ());
-
-if ($server_status1 != 0) {
- print STDERR "ERROR: server1 returned $server_status1\n";
- $status = 1;
-}
-
-if ($server_status2 != 0) {
- print STDERR "ERROR: server2 returned $server_status2\n";
- $status = 1;
-}
-
-$target->GetStderrLog();
-
-$target->DeleteFile($iorbase1);
-$target->DeleteFile($iorbase2);
-
-$host->DeleteFile($iorbase1);
-$host->DeleteFile($iorbase2);
-
-exit $status;