add script for running util tests
This commit was SVN r1988.
Этот коммит содержится в:
родитель
b9e1f38483
Коммит
dd1a70c81d
54
test/util/run_tests
Исполняемый файл
54
test/util/run_tests
Исполняемый файл
@ -0,0 +1,54 @@
|
|||||||
|
#! /bin/csh -f
|
||||||
|
# Name
|
||||||
|
# ====
|
||||||
|
# run script for util tests
|
||||||
|
|
||||||
|
# Arguements
|
||||||
|
# ==========
|
||||||
|
#
|
||||||
|
# test_list = no args runs all tests
|
||||||
|
# or
|
||||||
|
# argv runs ompi_argv tests
|
||||||
|
# numtostr runs ompi_numtostr tests
|
||||||
|
# os_create_dirpath runs ompi_os_create_dirpath tests,
|
||||||
|
# os_path runs ompi_os_path tests,
|
||||||
|
# session_dir runs ompi_session_dir tests
|
||||||
|
# sys_info runs ompi_sys_info 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_argv
|
||||||
|
./ompi_numtostr
|
||||||
|
./ompi_os_create_dirpath
|
||||||
|
./ompi_os_path
|
||||||
|
./ompi_session_dir
|
||||||
|
./ompi_sys_info
|
||||||
|
else if ("$1" == "argv") then
|
||||||
|
./ompi_argv
|
||||||
|
else if ("$1" == "numtostr") then
|
||||||
|
./ompi_numtostr
|
||||||
|
else if ("$1" == "os_create_dir_path") then
|
||||||
|
./ompi_os_create_dir_path
|
||||||
|
else if ("$1" == "os_path") then
|
||||||
|
./ompi_os_path
|
||||||
|
else if ("$1" == "session_dir") then
|
||||||
|
./ompi_session_dir
|
||||||
|
else if ("$1" == "sys_info") then
|
||||||
|
./ompi_sys_info
|
||||||
|
else
|
||||||
|
echo "correct use: "
|
||||||
|
echo " run (to run all class tests)"
|
||||||
|
echo "or run <argv | numtostr | os_create_dir_path | os_path | session_dir | sys_info>"
|
||||||
|
exit -1
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
Загрузка…
x
Ссылка в новой задаче
Block a user