diff options
author | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-07 16:14:16 +0000 |
---|---|---|
committer | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-07 16:14:16 +0000 |
commit | 840946a475f197dcb0a50f3d78336e6b85298f6a (patch) | |
tree | bfbf3f1b80f065e82a6ae4dea52ea417a55bc782 /TAO/tests/POA/Destruction/run_test.pl | |
parent | 7d35ae0838f2e922df8d8a78dfc00301bb504e02 (diff) | |
download | ATCD-840946a475f197dcb0a50f3d78336e6b85298f6a.tar.gz |
Fri Apr 7 11:12:07 2000 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/POA/Destruction/run_test.pl')
-rwxr-xr-x | TAO/tests/POA/Destruction/run_test.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tests/POA/Destruction/run_test.pl b/TAO/tests/POA/Destruction/run_test.pl index 6f2424b2053..bb2b1c3531f 100755 --- a/TAO/tests/POA/Destruction/run_test.pl +++ b/TAO/tests/POA/Destruction/run_test.pl @@ -8,6 +8,21 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' unshift @INC, '../../../../bin'; require Process; require ACEutils; +use Cwd; + +$cwd = getcwd(); +for($i = 0; $i <= $#ARGV; $i++) { + if ($ARGV[$i] eq '-chorus') { + $i++; + if (defined $ARGV[$i]) { + $EXEPREFIX = "rsh $ARGV[$i] arun $cwd$DIR_SEPARATOR"; + } + else { + print STDERR "The -chorus option requires the hostname of the target\n"; + exit(1); + } + } +} $T = Process::Create ($EXEPREFIX."Destruction".$EXE_EXT); |