2004-08-10 01:25:57 +04:00
|
|
|
#! /bin/csh -f
|
|
|
|
# Name
|
|
|
|
# ====
|
|
|
|
# run script for include tests
|
|
|
|
|
|
|
|
# Arguements
|
|
|
|
# ==========
|
|
|
|
#
|
|
|
|
# test_list = no args runs all tests
|
|
|
|
# or
|
|
|
|
# atomic runs atomic tests
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
#
|
|
|
|
# =====
|
|
|
|
# To invoke this script, enter either
|
2004-08-11 21:23:40 +04:00
|
|
|
# run_tests
|
2004-08-10 01:25:57 +04:00
|
|
|
# with no arguments to run all tests, or
|
2004-08-11 21:23:40 +04:00
|
|
|
# run_tests <test_name>
|
2004-08-10 01:25:57 +04:00
|
|
|
|
|
|
|
umask 007
|
|
|
|
|
|
|
|
if ("x$1" == "x") then
|
|
|
|
./atomic
|
|
|
|
else if ("$1" == "atomic") then
|
|
|
|
./atomic
|
|
|
|
else
|
|
|
|
echo "correct use: "
|
2004-08-11 21:23:40 +04:00
|
|
|
echo " run_tests (to run all class tests)"
|
|
|
|
echo "or run_tests <atomic>"
|
2004-08-10 01:25:57 +04:00
|
|
|
exit -1
|
|
|
|
endif
|
|
|
|
|
|
|
|
|