1
1
This commit was SVN r2480.
Этот коммит содержится в:
Laura Casswell 2004-09-03 14:53:47 +00:00
родитель 87d464b894
Коммит 2d950075a2

Просмотреть файл

@ -8,8 +8,8 @@
# #
# test_list = no args runs all tests # test_list = no args runs all tests
# or # or
# condition runs ompi_condition tests # ompi_condition runs ompi_condition tests
# thread runs ompi_thread tests # ompi_thread runs ompi_thread tests
# Usage # Usage
# #
@ -24,15 +24,36 @@ umask 007
if ("x$1" == "x") then if ("x$1" == "x") then
./ompi_thread ./ompi_thread
./ompi_condition ./ompi_condition
else if ("$1" == "condition") then else
./ompi_condition foreach target ($argv)
else if ("$1" == "thread") then switch ($target)
./ompi_thread case "all":
else ./ompi_condition
echo "correct use: " ./ompi_thread
echo " run_tests (to run all thread tests)" breaksw
echo "or run_tests <condition | thread>" case "ompi_condition":
exit -1 ./ompi_condition
breaksw
case "ompi_thread":
./ompi_thread
breaksw
case "help"
echo "correct use: "
echo " run_tests help (this message)"
echo " run_tests all (to run all thread tests)"
echo "or run_tests and any of the following:"
echo " <omnpi_condition | ompi_thread>"
break
breaksw
default:
echo "There is no program <$target> to run"
echo "correct use: "
echo " run_tests all (to run all thread tests)"
echo "or run_tests and any of the following:"
echo " <omnpi_condition | ompi_thread>"
break
endsw
end
endif endif