aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-03-01 23:08:37 +0800
committerGitHub <noreply@github.com>2017-03-01 23:08:37 +0800
commit6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7 (patch)
treef696d008ca98b90868d349e5172256020a8bd76a /test
parentd2c79bf8e9400f783bf0feed34065882eae02a68 (diff)
parent41360ccd57997edfd6807c75a33f4dbc4b65558b (diff)
downloaddexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar.gz
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar.bz2
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar.lz
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar.xz
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.tar.zst
dexon-solidity-6ac2c15c2bbcce77cf60e5a1d6bb78b924609af7.zip
Merge pull request #1719 from ethereum/fuzzerLine
Filter fuzzing errors by cause.
Diffstat (limited to 'test')
-rw-r--r--test/fuzzer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp
index 85a8fe99..410313c5 100644
--- a/test/fuzzer.cpp
+++ b/test/fuzzer.cpp
@@ -67,7 +67,6 @@ int main()
for (Json::Value const& error: outputJson["errors"])
{
string invalid = contains(error.asString(), vector<string>{
- "Compiler error",
"Internal compiler error",
"Exception during compilation",
"Unknown exception during compilation",
@@ -78,7 +77,7 @@ int main()
});
if (!invalid.empty())
{
- cout << "Invalid error: \"" << invalid << "\"" << endl;
+ cout << "Invalid error: \"" << error.asString() << "\"" << endl;
abort();
}
}