diff options
Diffstat (limited to 'TAO/tests/Compression/run_test.pl')
-rwxr-xr-x | TAO/tests/Compression/run_test.pl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/TAO/tests/Compression/run_test.pl b/TAO/tests/Compression/run_test.pl index d1d85802727..202d8d7e1c7 100755 --- a/TAO/tests/Compression/run_test.pl +++ b/TAO/tests/Compression/run_test.pl @@ -10,7 +10,17 @@ use PerlACE::TestTarget; my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; -$SV = $server->CreateProcess ("server"); +my @tests = qw( + zlibserver + bzip2server + lzoserver + ); + +foreach my $process (@tests) { + +$SV = $server->CreateProcess ("$process"); +my $executable = $SV->Executable; +next unless -e $executable; $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval()); @@ -18,5 +28,6 @@ if ($test != 0) { print STDERR "ERROR: test returned $test\n"; exit 1; } +} exit 0; |