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