diff options
Diffstat (limited to 'TAO/tests/CDR/run_test.pl')
-rwxr-xr-x | TAO/tests/CDR/run_test.pl | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/TAO/tests/CDR/run_test.pl b/TAO/tests/CDR/run_test.pl deleted file mode 100755 index 36c84d15ca3..00000000000 --- a/TAO/tests/CDR/run_test.pl +++ /dev/null @@ -1,43 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../bin"; -require ACEutils; - -$brace="\#\#\#\#\#"; -@tests = ("basic_types", "tc", "growth"); -@argslist = ("-n 256 -l 10", "", "-l 64 -h 256 -s 4 -n 100"); -$test = ""; -$args = ""; -$| = 1; -print STDERR "\n"; - -sub run_test -{ - #my $test = shift (@tests); - my $args = shift (@argslist); - - print STDERR "\n$brace $test $args test BEGUN\n"; - $TST = Process::Create ($EXEPREFIX."$test".$EXE_EXT, - "$args"); - print STDERR "\t$test RUNNING\n"; - $retval = $TST->TimedWait (60); - if ($retval == -1) { - print STDERR "ERROR $brace $test $args TIMEOUT\n"; - $TST->Kill (); $TST->TimedWait (5); - } elsif ($retval != 0) { - print STDERR "ERROR $brace $test $args, exit value $retval\n"; - } - print STDERR "$brace $test ENDED successfully\n"; -} - -foreach $test (@tests) -{ - run_test ($test, $args); -} - - |