diff options
Diffstat (limited to 'TAO/tests/Bug_3155_Regression/run_test.pl')
-rwxr-xr-x | TAO/tests/Bug_3155_Regression/run_test.pl | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/TAO/tests/Bug_3155_Regression/run_test.pl b/TAO/tests/Bug_3155_Regression/run_test.pl deleted file mode 100755 index 44ea081a253..00000000000 --- a/TAO/tests/Bug_3155_Regression/run_test.pl +++ /dev/null @@ -1,67 +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::Run_Test; - -$status = 0; -my $exec_extn=""; -if ($^O eq "MSWin32") { - $exec_extn=".exe"; -} -$ifr_service= "$ENV{ACE_ROOT}/bin/IFR_Service"; -if (! -e $ifr_service . $exec_extn ) { - $ifr_service= "$ENV{ACE_ROOT}/TAO/orbsvcs/IFR_Service/IFR_Service"; - if (! -e $ifr_service . $exec_extn ) { - $ifr_service = "$ENV{ACE_ROOT}/TAO/orbsvcs/IFR_Service/Release/IFR_Service"; - if (! -e $ifr_service . $exec_extn ) { - print STDERR "ERROR: IFR_Service not found.\n"; - exit 1; - } - } -} -$iorfile = PerlACE::LocalFile ("ifr.ior"); -unlink $iorfile; - -print STDERR "\n\n==== Running Forward Declared ValueType Definition test\n"; - -if (PerlACE::is_vxworks_test()) { - $SV = new PerlACE::ProcessVX ("$ifr_service", "-o $iorfile"); -} -else { - $SV = new PerlACE::Process ("$ifr_service", "-o $iorfile"); -} - -print STDERR "Starting IFR Service\n"; -$SV->Spawn (); -if (PerlACE::waitforfile_timed ($iorfile, - $PerlACE::wait_interval_for_process_creation) == -1) { - print STDERR "ERROR: cannot find file <$iorfile>\n"; - $SV->Kill (); $SV->TimedWait (1); - exit 1; -} - -$LOADER = new PerlACE::Process ("$ENV{ACE_ROOT}/bin/tao_ifr", - "-ORBInitRef InterfaceRepository=file://$iorfile test.idl"); -print STDERR "Loading test.idl into IFR service\n"; -$status = $LOADER->SpawnWaitKill (15); -if ($status != 0) { - print STDERR "ERROR: IFR Loading returned $status\n"; -} - -print STDERR "Running test_idl\n"; -$TEST = new PerlACE::Process ("test_idl", "-i file://$iorfile -s IDL:M1/VT:1.0"); -$status = $TEST->SpawnWaitKill (15); -if ($status != 0) { - print STDERR "ERROR: test_idl returned $status\n"; -} - -print STDERR "Stopping IFR\n"; -$SV->Kill(); $SV->TimedWait (1); -unlink $iorfile; - -exit $status; |