From 7f1389a6cd6e0842a08c1d866a0ddf6804a1e094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Sat, 7 Nov 2020 16:12:11 +0100 Subject: [PATCH] cmdlineTests.sh: Print task name before the error about ambiguous input - Otherwise it looks as if the error applies to a test that actually succeeded. --- test/cmdlineTests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh index 491a51261..1c122d971 100755 --- a/test/cmdlineTests.sh +++ b/test/cmdlineTests.sh @@ -240,6 +240,8 @@ printTask "Running general commandline tests..." cd "$REPO_ROOT"/test/cmdlineTests/ for tdir in */ do + printTask " - ${tdir}" + if [ -e "${tdir}/input.json" ] then inputFile="" @@ -268,7 +270,6 @@ printTask "Running general commandline tests..." exitCode=$(cat ${tdir}/exit 2>/dev/null || true) err="$(cat ${tdir}/err 2>/dev/null || true)" stderrExpectationFile="${tdir}/err" - printTask " - ${tdir}" test_solc_behaviour "$inputFile" \ "$args" \ "$stdin" \