1
1
openmpi/test/mca/llm/run_tests
Laura Casswell ae1a20a354 make more general
This commit was SVN r2466.
2004-09-03 13:51:39 +00:00

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

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