Merge pull request #5711 from ethereum/printCommandOnError

[cmdline tests] Print command on error.
This commit is contained in:
chriseth 2019-01-07 14:37:32 +01:00 committed by GitHub
commit b06e84501b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,8 @@ function test_solc_behaviour()
printError "But got:"
cat $stdout_path
printError "When running $SOLC ${filename} ${solc_args} <$solc_stdin"
rm -f $stdout_path $stderr_path
exit 1
fi
@ -167,6 +169,8 @@ function test_solc_behaviour()
printError "But got:"
cat $stderr_path
printError "When running $SOLC ${filename} ${solc_args} <$solc_stdin"
rm -f $stdout_path $stderr_path
exit 1
fi