mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Throw exception to allow fuzzer to report which file it failed on.
This commit is contained in:
@@ -125,12 +125,12 @@ Allowed options)",
|
||||
else
|
||||
FuzzerUtil::testCompiler(input, optimize, quiet);
|
||||
}
|
||||
catch (exception const& _exc)
|
||||
catch (...)
|
||||
{
|
||||
retResult = 1;
|
||||
|
||||
if (inputFile.size() == 0)
|
||||
throw _exc;
|
||||
throw;
|
||||
|
||||
cerr << "Fuzzer "
|
||||
<< (optimize ? "" : "(without optimizer) ")
|
||||
|
||||
Reference in New Issue
Block a user