1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
7 use lib
"$ENV{ACE_ROOT}/bin";
8 use PerlACE
::TestTarget
;
13 my $server = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
19 $BT = $server->CreateProcess ("basic_test", "-t $type");
20 my $basictest = $BT->SpawnWaitKill ($server->ProcessStartWaitInterval());
22 if ($basictest != 0) {
23 print STDERR
"ERROR: basic test for ($type) returned $basictest\n";
28 for ($i = 0; $i <= $#ARGV; $i++) {
29 if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?") {
30 print "Run_Test Perl script for TAO DynAny Test\n\n";
31 print "run_test [-t type]\n";
33 print "-t type -- runs only one type of dynany test\n";
36 elsif ($ARGV[$i] eq "-t") {
37 $type = $ARGV[$i + 1];
42 @types = ("dynany", "dynarray", "dynenum", "dynsequence", "dynstruct",
50 foreach $type (@types) {