summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Collocation/run_test.pl
blob: cf072cd7bd3d6df024a32f5b73e8d57fe62c87e1 (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
26
27
28
29
30
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
     & eval 'exec perl -S $0 $argv:q'
     if 0;

# $Id$
# -*- perl -*-

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

$status = 0;

print STDOUT "Collocation\n\n";

if (PerlACE::is_vxworks_test()) {
    $SV = new PerlACE::ProcessVX ("Collocation");
}
else {
    $SV = new PerlACE::Process ("Collocation");
}


$server = $SV->SpawnWaitKill ($PerlACE::wait_interval_for_process_creation);

if ($server != 0) {
    print STDERR "ERROR: Collocation returned $server \n";
    $status = 1;
}

exit $status;