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/
|
cd "$REPO_ROOT"/test/cmdlineTests/
|
||||||
for tdir in */
|
for tdir in */
|
||||||
do
|
do
|
||||||
|
printTask " - ${tdir}"
|
||||||
|
|
||||||
if [ -e "${tdir}/input.json" ]
|
if [ -e "${tdir}/input.json" ]
|
||||||
then
|
then
|
||||||
inputFile=""
|
inputFile=""
|
||||||
@ -268,7 +270,6 @@ printTask "Running general commandline tests..."
|
|||||||
exitCode=$(cat ${tdir}/exit 2>/dev/null || true)
|
exitCode=$(cat ${tdir}/exit 2>/dev/null || true)
|
||||||
err="$(cat ${tdir}/err 2>/dev/null || true)"
|
err="$(cat ${tdir}/err 2>/dev/null || true)"
|
||||||
stderrExpectationFile="${tdir}/err"
|
stderrExpectationFile="${tdir}/err"
|
||||||
printTask " - ${tdir}"
|
|
||||||
test_solc_behaviour "$inputFile" \
|
test_solc_behaviour "$inputFile" \
|
||||||
"$args" \
|
"$args" \
|
||||||
"$stdin" \
|
"$stdin" \
|
||||||
|
Loading…
Reference in New Issue
Block a user