1
1
openmpi/test/mca/gpr/run_tests
Laura Casswell e613ac2459 fix help line
This commit was SVN r2468.
2004-09-03 13:55:53 +00:00

59 строки
1.3 KiB
Tcsh
Исполняемый файл

#! /bin/csh -f
# Name
# ====
# run script for mca gpr tests
# Arguements
# ==========
#
# test_list = no args or all runs all tests
# or
# test_gpr_proxy runs ompi gpr proxy tests
# test_gpr_replica runs ompi gpr replica tests
# Usage
#
# =====
# To invoke this script, enter either
# run_tests all
# with no arguments to run all tests, or
# run_tests <test_name>
umask 007
if ("x$1" == "x") then
./test_gpr_proxy;
./test_gpr_replica;
else
foreach target ($argv)
switch ($target)
case "all":
./test_gpr_proxy;
./test_gpr_replica;
breaksw
case "test_gpr_replica":
case "test_gpr_proxy":
./$target;
breaksw
case "help":
echo "correct use: "
echo " run_tests help (this message)"
echo " run_tests all (to run all mca gpr tests)"
echo "or run_tests with any of the following: "
echo " < test_gpr_replica | test_gpr_proxy >"
break
breaksw
default
echo "There is no test <$target> to run"
echo "correct use: "
echo " run_tests help (this message)"
echo " run_tests all (to run all mca gpr tests)"
echo "or run_tests with any of the following: "
echo " < test_gpr_replica | test_gpr_proxy >"
break
endsw
end
endif