make more general
This commit was SVN r2471.
Этот коммит содержится в:
родитель
7dfe48ec94
Коммит
54825ec955
@ -24,15 +24,34 @@ if ("x$1" == "x") then
|
|||||||
cd base;
|
cd base;
|
||||||
./run_tests;
|
./run_tests;
|
||||||
cd ..;
|
cd ..;
|
||||||
else if ("$1" == "base") then
|
else
|
||||||
|
foreach target ($argv)
|
||||||
|
switch ($target)
|
||||||
|
case "all":
|
||||||
cd base;
|
cd base;
|
||||||
./run_tests;
|
./run_tests;
|
||||||
cd ..;
|
cd ..;
|
||||||
else
|
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 pcm tests)"
|
||||||
|
echo "or run_tests < base >"
|
||||||
|
break;
|
||||||
|
breaksw
|
||||||
|
default:
|
||||||
|
echo "There is no part of mca pcm named <$target>"
|
||||||
echo "correct use: "
|
echo "correct use: "
|
||||||
echo " run_tests (to run all mca pcm tests)"
|
echo " run_tests (to run all mca pcm tests)"
|
||||||
echo "or run_tests < base >"
|
echo "or run_tests < base >"
|
||||||
exit -1
|
break;
|
||||||
|
endsw
|
||||||
|
end
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user