aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2019-01-07 21:37:32 +0800
committerGitHub <noreply@github.com>2019-01-07 21:37:32 +0800
commitb06e84501b63cbc0e78fb7565b1029fcae1e4474 (patch)
treeead0efdf7b83b21d27e5da223e2f41747db41337
parentff7bc85478126b02a713a46cd2eedb60edbb485b (diff)
parent09feb9cf529d4c7da69e42b1c5fd94b7c7396005 (diff)
downloaddexon-solidity-b06e84501b63cbc0e78fb7565b1029fcae1e4474.tar.gz
dexon-solidity-b06e84501b63cbc0e78fb7565b1029fcae1e4474.tar.zst
dexon-solidity-b06e84501b63cbc0e78fb7565b1029fcae1e4474.zip
Merge pull request #5711 from ethereum/printCommandOnError
[cmdline tests] Print command on error.
-rwxr-xr-xtest/cmdlineTests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh
index fc84d8a0..00cc3633 100755
--- a/test/cmdlineTests.sh
+++ b/test/cmdlineTests.sh
@@ -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