diff options
author | chriseth <chris@ethereum.org> | 2018-07-12 06:22:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 06:22:38 +0800 |
commit | 71777ce729d9cf2a536fe966de6c6dd1ee43c807 (patch) | |
tree | a7d41b3579130d59c0c981db298c67e0451ff5be /test | |
parent | 99bee7e233f86ce0820176ce97a7ecd3d629ab17 (diff) | |
parent | b248fc6436a48d5b1a71717606d703c6282a12a3 (diff) | |
download | dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.gz dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.bz2 dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.lz dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.xz dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.tar.zst dexon-solidity-71777ce729d9cf2a536fe966de6c6dd1ee43c807.zip |
Merge pull request #4461 from ethereum/fuzzer-fix
Catch the proper exceptions in solfuzzer
Diffstat (limited to 'test')
-rw-r--r-- | test/tools/fuzzer.cpp | 4 |
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", |