mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4461 from ethereum/fuzzer-fix
Catch the proper exceptions in solfuzzer
This commit is contained in:
commit
71777ce729
@ -135,6 +135,10 @@ void testCompiler(bool optimize)
|
|||||||
for (Json::Value const& error: outputJson["errors"])
|
for (Json::Value const& error: outputJson["errors"])
|
||||||
{
|
{
|
||||||
string invalid = contains(error.asString(), vector<string>{
|
string invalid = contains(error.asString(), vector<string>{
|
||||||
|
// StandardJSON error types
|
||||||
|
"Exception",
|
||||||
|
"InternalCompilerError",
|
||||||
|
// Old-school error messages
|
||||||
"Internal compiler error",
|
"Internal compiler error",
|
||||||
"Exception during compilation",
|
"Exception during compilation",
|
||||||
"Unknown exception during compilation",
|
"Unknown exception during compilation",
|
||||||
|
Loading…
Reference in New Issue
Block a user