Commit 6baa23f0 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Modify run.in so that it can run individual regression tests

parent 86df7d3b
......@@ -189,6 +189,7 @@ fi
. $SRCDIR/scripts/defines.sh
SCRIPTDIR="${SRCDIR}/scripts"
ITSDIR="${SRCDIR}/data/regressions"
SCRIPTNAME="$1"
shift
......@@ -198,6 +199,8 @@ elif test -x "`echo ${SCRIPTDIR}/test*-${SCRIPTNAME}`"; then
SCRIPT="`echo ${SCRIPTDIR}/test*-${SCRIPTNAME}`"
elif test -x "`echo ${SCRIPTDIR}/${SCRIPTNAME}-*`"; then
SCRIPT="`echo ${SCRIPTDIR}/${SCRIPTNAME}-*`"
elif test -x "`echo ${ITSDIR}/${SCRIPTNAME}/${SCRIPTNAME}`"; then
SCRIPT="`echo ${ITSDIR}/${SCRIPTNAME}/${SCRIPTNAME}`"
else
echo "run: ${SCRIPTNAME} not found (or not executable)"
exit 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment