From 6baa23f072d9bb77ba5d2b9a7c769e474c703a11 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Mon, 12 Dec 2016 11:53:14 -0800 Subject: [PATCH] Modify run.in so that it can run individual regression tests --- tests/run.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run.in b/tests/run.in index 74e5a50b88..2873f2233c 100644 --- a/tests/run.in +++ b/tests/run.in @@ -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; -- 2.39.5