aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-12 06:22:38 +0800
committerGitHub <noreply@github.com>2018-07-12 06:22:38 +0800
commit71777ce729d9cf2a536fe966de6c6dd1ee43c807 (patch)
treea7d41b3579130d59c0c981db298c67e0451ff5be
parent99bee7e233f86ce0820176ce97a7ecd3d629ab17 (diff)
parentb248fc6436a48d5b1a71717606d703c6282a12a3 (diff)
downloaddexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.gz
dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.zst
dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.zip
Merge pull request #4461 from ethereum/fuzzer-fix
Catch the proper exceptions in solfuzzer
-rw-r--r--test/tools/fuzzer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tools/fuzzer.cpp b/test/tools/fuzzer.cpp
index 71f38b67..a5a63854 100644
--- a/test/tools/fuzzer.cpp
+++ b/test/tools/fuzzer.cpp
@@ -135,6 +135,10 @@ void testCompiler(bool optimize)
for (Json::Value const& error: outputJson["errors"])
{
string invalid = contains(error.asString(), vector<string>{
+ // StandardJSON error types
+ "Exception",
+ "InternalCompilerError",
+ // Old-school error messages
"Internal compiler error",
"Exception during compilation",
"Unknown exception during compilation",