Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_3251_Regression / run_test.pl
blob0638324e048fedd6a2c3f1bb9a3c193972e948a8
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 $conffilebase = "Bug_3251.conf";
13 my $conffile = $server->LocalFile ($conffilebase);
15 # copy the configuation files
16 if ($server->PutFile ($conffilebase) == -1) {
17 print STDERR "ERROR: cannot set file <$conffile>\n";
18 return 1;
20 if ($server->PutFile ($conffilebase.'.xml') == -1) {
21 print STDERR "ERROR: cannot set file <$conffile".'.xml'.">\n";
22 return 1;
25 $SV = $server->CreateProcess ("server");
27 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
29 if ($test != 0) {
30 print STDERR "ERROR: test returned $test\n";
31 exit 1;
34 exit 0;