Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / AST_Unit_Tests / run_test.pl
blob887f4f7bf68093eb3c4e23be49e2693e286b0b0e
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;
9 use strict;
11 my $process = 'AST_Unit_Tests';
12 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
13 my $P = $server->CreateProcess ($process);
15 print "Running $process ...\n";
16 my $result = $P->Spawn;
17 if ($result != 0) {
18 print "FAILED $process\n";
19 exit 1;
22 $result = $P->WaitKill ($server->ProcessStartWaitInterval ());
23 if ($result != 0) {
24 print "FAILED $process\n";
25 exit 1;
28 print "SUCCESS\n";
29 exit 0;