Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Any / Indirected / run_test.pl
blob4ac0f1adfae554f6ab173db6fd801e1c06b91239
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 $status = 0;
11 $debug_level = '0';
13 foreach $i (@ARGV) {
14 if ($i eq '-debug') {
15 $debug_level = '10';
19 my $client = PerlACE::TestTarget::create_target (2) || die "Create target 2 failed\n";
21 $CL = $client->CreateProcess ("client", "-ORBdebuglevel $debug_level");
23 $client_status = $CL->SpawnWaitKill ($client->ProcessStartWaitInterval());
25 if ($client_status != 0) {
26 print STDERR "ERROR: client returned $client_status\n";
27 $status = 1;
30 $client->GetStderrLog();
32 exit $status;