add simple script to run tests
This commit was SVN r2050.
Этот коммит содержится в:
родитель
a323f2210f
Коммит
4996885279
38
test/threads/run_tests
Исполняемый файл
38
test/threads/run_tests
Исполняемый файл
@ -0,0 +1,38 @@
|
||||
#! /bin/csh -f
|
||||
# Name
|
||||
# ====
|
||||
# run script for thread tests
|
||||
|
||||
# Arguements
|
||||
# ==========
|
||||
#
|
||||
# test_list = no args runs all tests
|
||||
# or
|
||||
# condition runs ompi_condition tests
|
||||
# thread runs ompi_thread tests
|
||||
|
||||
# Usage
|
||||
#
|
||||
# =====
|
||||
# To invoke this script, enter either
|
||||
# run_tests
|
||||
# with no arguments to run all tests, or
|
||||
# run_tests <test_name>
|
||||
|
||||
umask 007
|
||||
|
||||
if ("x$1" == "x") then
|
||||
./ompi_thread
|
||||
./ompi_condition
|
||||
else if ("$1" == "condition") then
|
||||
./ompi_condition
|
||||
else if ("$1" == "thread") then
|
||||
./ompi_thread
|
||||
else
|
||||
echo "correct use: "
|
||||
echo " run (to run all class tests)"
|
||||
echo "or run <atomic>"
|
||||
exit -1
|
||||
endif
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user