Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Collocation / run_test.pl
blob8fb3f1ba7d1cd16cfb722d6e61a2723cd33e7531
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 $target = PerlACE::TestTarget::create_target(1) || die "Create target 1 failed\n";
12 $target->AddLibPath ('.');
14 $status = 0;
16 print STDOUT "Collocation\n\n";
18 $SV = $target->CreateProcess ("Collocation");
20 $server = $SV->SpawnWaitKill ($target->ProcessStartWaitInterval());
22 if ($server != 0) {
23 print STDERR "ERROR: Collocation returned $server\n";
24 $status = 1;
27 $target->GetStderrLog();
29 exit $status;