Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Compression / run_test.pl
bloba55ed826a07470cc8abf02e7432e54ea09e7ddca
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;
10 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
12 my @tests = qw(
13 zlibserver
14 bzip2server
15 lzoserver
16 rleserver);
18 foreach my $process (@tests) {
20 $SV = $server->CreateProcess ("$process");
21 my $executable = $SV->Executable;
22 next unless -e $executable;
24 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
26 if ($test != 0) {
27 print STDERR "ERROR: test returned $test\n";
28 exit 1;
32 exit 0;