devel/debug: another minor issue with test case handling

This commit is contained in:
Franco Fichtner 2024-11-27 07:44:22 +01:00
parent bff03eabf2
commit 726a450d9e

View file

@ -143,6 +143,11 @@ for TEST in ${TESTS}; do
CASE=
if [ -n "${DO_DEBUG}" ]; then
if [ -n "${TEST%%*:*}" ]; then
echo "No test case given in debug mode, use '${TEST}:case'" >&2
exit 1
fi
CASE=:${TEST##*:}
TEST=${TEST%%:*}
fi