Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / IDLv4 / maps / run_test.pl
blob017390556b5b2dc4af79fa7cf6c6469cb4f02f79
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 use strict;
6 use lib "$ENV{ACE_ROOT}/bin";
7 use PerlACE::TestTarget;
9 my $tao_idl = "$ENV{ACE_ROOT}/bin/tao_idl";
10 if (exists $ENV{HOST_ROOT}) {
11 $tao_idl = "$ENV{HOST_ROOT}/bin/tao_idl";
14 my $target = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
15 my $proc = $target->CreateProcess ("maps");
17 my $test = $proc->SpawnWaitKill ($target->ProcessStartWaitInterval ());
19 if ($test != 0) {
20 print STDERR "ERROR: test returned $test\n";
21 exit 1;
24 exit 0;