diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-10 06:50:34 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-07-12 05:49:14 +0800 |
commit | b248fc6436a48d5b1a71717606d703c6282a12a3 (patch) | |
tree | b3dfa5fa7675d31bb3387a9a544679334c28069a /test | |
parent | 2b8091526fa3e3f50fff2271fecabc44edbb5375 (diff) | |
download | dexon-solidity-b248fc6436a48d5b1a71717606d703c6282a12a3.tar.gz dexon-solidity-b248fc6436a48d5b1a71717606d703c6282a12a3.tar.zst dexon-solidity-b248fc6436a48d5b1a71717606d703c6282a12a3.zip |
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", |