mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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.
This commit is contained in:
parent
32f1d25498
commit
7f1389a6cd
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user