summaryrefslogtreecommitdiff
path: root/TAO/tests/Codec/run_test.pl
blob: 5dee4efa66d46f8966e79017d2d1c9c7b850e5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# -*- perl -*-

use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::TestTarget;

my $target = PerlACE::TestTarget::create_target(1) || die "Create target 1 failed\n";

print STDERR "\n\n==== Running Codec test\n";

$T = $target->CreateProcess ("client");

$test = $T->SpawnWaitKill ($target->ProcessStartWaitInterval());

$target->GetStderrLog();

if ($test != 0) {
    print STDERR "ERROR: Codec test returned $test\n";
    exit 1;
}

exit 0;