From 8877d4a7819a589d41b87e10237fa281e453a604 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 24 Feb 2017 19:31:39 +0100 Subject: Compiler error is not a failure. --- test/fuzzer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp index 85a8fe99..f957d4ed 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{ - "Compiler error", "Internal compiler error", "Exception during compilation", "Unknown exception during compilation", -- cgit v1.2.3 From 9acfdb80444e94c2fe8845f796f13f8dedc49b22 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 24 Feb 2017 19:31:52 +0100 Subject: Print full error on failure. --- test/fuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp index f957d4ed..410313c5 100644 --- a/test/fuzzer.cpp +++ b/test/fuzzer.cpp @@ -77,7 +77,7 @@ int main() }); if (!invalid.empty()) { - cout << "Invalid error: \"" << invalid << "\"" << endl; + cout << "Invalid error: \"" << error.asString() << "\"" << endl; abort(); } } -- cgit v1.2.3