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
+4
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