=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / ORB_Local_Config / Service_Dependency / run_test.pl
blob6f5170ad3c7d21ce4cc07357e86f4600ecca4278
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";
11 $server->AddLibPath ('../lib');
13 $server->AddRuntimeLibrary ('TAO_Codeset');
15 my @confbases = ('Service_Config_Test.conf', 'Service_Config_Test.UTF-16.conf', 'Service_Config_Test.WCHAR_T.conf');
16 foreach my $conffilebase (@confbases) {
17 my $conffile = $server->LocalFile ($conffilebase);
19 # copy the configuation files
20 if ($server->PutFile ($conffilebase) == -1) {
21 print STDERR "ERROR: cannot set file <$conffile>\n";
22 return 1;
24 if ($server->PutFile ($conffilebase.'.xml') == -1) {
25 print STDERR "ERROR: cannot set file <$conffile".'.xml'.">\n";
26 return 1;
30 $SV = $server->CreateProcess ("Test");
32 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
34 if ($test != 0) {
35 print STDERR "ERROR: test returned $test\n";
36 exit 1;
39 exit 0;