Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Codec / run_test.pl
blob5dee4efa66d46f8966e79017d2d1c9c7b850e5e0
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 $target = PerlACE::TestTarget::create_target(1) || die "Create target 1 failed\n";
12 print STDERR "\n\n==== Running Codec test\n";
14 $T = $target->CreateProcess ("client");
16 $test = $T->SpawnWaitKill ($target->ProcessStartWaitInterval());
18 $target->GetStderrLog();
20 if ($test != 0) {
21 print STDERR "ERROR: Codec test returned $test\n";
22 exit 1;
25 exit 0;