3 # usage: acceptance-small.sh [test list]
4 # if no tests are specified, they are taken from test-groups/regression
5 # if {TEST_NAME}=no is set, that test script is skipped
6 LUSTRE=${LUSTRE:-$(dirname $0)/..}
7 NAME=${NAME:-local} # name of config file eg lustre/tests/cfg/local.sh
8 DEFAULT_SUITES="${*:-$ACC_SM_ONLY}"
9 DEFAULT_SUITES="${DEFAULT_SUITES:-$(cat "$LUSTRE/tests/test-groups/regression")}"
10 AUSTER=$LUSTRE/tests/auster
12 for SUB in $DEFAULT_SUITES; do
15 [[ "${!ENV}" != "no" ]] || continue
19 echo "SUITES: $SUITES"
21 # check config file is available
22 if [ -e "$LUSTRE/tests/cfg/$NAME.sh" ]; then
23 echo "Running with config $LUSTRE/tests/cfg/${NAME}.sh"
24 $AUSTER -r -R -v -f "${NAME}" $SUITES
25 else # fall back to default lustre.cfg
26 echo "Running with config $LUSTRE/tests/cfg/lustre.sh"
27 $AUSTER -r -R -v -f "lustre" $SUITES