Catch the proper exceptions in solfuzzer

This commit is contained in:
Alex Beregszaszi 2018-07-09 23:50:34 +01:00 committed by chriseth
parent 2b8091526f
commit b248fc6436

View File

@ -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",