Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Transport_Cache_Manager / run_test.pl
blobfbf93564456183c5e6b8a3549740ab1da3ddc493
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use lib "$ENV{ACE_ROOT}/bin";
8 use PerlACE::TestTarget;
9 use strict;
11 my $final_result = 0;
13 my @testsToRun = qw(Bug_3549_Regression
14 Bug_3558_Regression);
16 foreach my $process (@testsToRun) {
18 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
19 my $P = $server->CreateProcess ($process);
20 print "Running $process ...\n";
21 my $result = $P->Spawn;
22 if ($result != 0) {
23 print "FAILED $process\n";
24 $final_result = 1;
25 next;
27 $result = $P->WaitKill($server->ProcessStartWaitInterval());
28 if ($result != 0) {
29 print "FAILED $process\n";
30 $final_result = 1;
31 next;
33 print "SUCCESS\n";
36 exit $final_result;