make more general
This commit was SVN r2466.
Этот коммит содержится в:
родитель
ed4fd14f1c
Коммит
ae1a20a354
@ -24,15 +24,34 @@ if ("x$1" == "x") then
|
||||
cd base;
|
||||
./run_tests;
|
||||
cd ..;
|
||||
else if ("$1" == "base") then
|
||||
cd base;
|
||||
./run_tests;
|
||||
cd ..;
|
||||
else
|
||||
echo "correct use: "
|
||||
echo " run_tests (to run all mca llm tests)"
|
||||
echo "or run_tests < base >"
|
||||
exit -1
|
||||
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
|
||||
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user