make more general
This commit was SVN r2479.
Этот коммит содержится в:
родитель
30aff069e6
Коммит
87d464b894
@ -8,7 +8,7 @@
|
||||
#
|
||||
# test_list = no args runs all tests
|
||||
# or
|
||||
# session runs ompi_session tests
|
||||
# openmpi runs openmpi test
|
||||
|
||||
# Usage
|
||||
#
|
||||
@ -22,13 +22,30 @@ umask 007
|
||||
|
||||
if ("x$1" == "x") then
|
||||
./openmpi
|
||||
else if ("$1" == "session") then
|
||||
./openmpi
|
||||
else
|
||||
echo "correct use: "
|
||||
echo " run_tests (to run all rte tests)"
|
||||
echo "or run_tests <session>"
|
||||
exit -1
|
||||
else
|
||||
foreach target ($argv)
|
||||
switch ($target)
|
||||
case "all":
|
||||
./openmpi
|
||||
breaksw
|
||||
case "openmpi":
|
||||
./$target
|
||||
breaksw
|
||||
case "help":
|
||||
echo "correct use: "
|
||||
echo " run_tests help (this message)"
|
||||
echo " run_tests (to run all rte tests)"
|
||||
echo "or run_tests <openmpi>"
|
||||
break
|
||||
breaksw
|
||||
default:
|
||||
echo "There is no program <$target> to run"
|
||||
echo "correct use: "
|
||||
echo " run_tests (to run all rte tests)"
|
||||
echo "or run_tests <openmpi>"
|
||||
break
|
||||
endsw
|
||||
end
|
||||
endif
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user