mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5711 from ethereum/printCommandOnError
[cmdline tests] Print command on error.
This commit is contained in:
commit
b06e84501b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user