Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / DevGuideExamples / LocalObjects / Messenger / run_test.pl
blobaab476be74078a9ffec883ec0c91e266cdf6d569
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
8 use lib "$ENV{ACE_ROOT}/bin";
9 use PerlACE::TestTarget;
11 my $status = 0;
13 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
15 $SV = $server->CreateProcess ("MessengerServer");
17 $SV->Spawn ();
19 $process_status = $SV->WaitKill ($server->ProcessStartWaitInterval());
21 if ($process_status != 0) {
22 print STDERR "ERROR: server returned $process_status\n";
23 $status = 1;
26 exit $status;