From b78960c604a73f241424add4d568248873d1aa7e Mon Sep 17 00:00:00 2001 From: ywon0925 <9788667@gmail.com> Date: Wed, 22 Jun 2022 20:52:58 +0900 Subject: [PATCH 1/2] Add a Catch to handle exception --- test/tools/isoltest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp index 6e00b12d6..cb7ab1eb5 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.cpp @@ -509,6 +509,11 @@ int main(int argc, char const *argv[]) cerr << exception.what() << endl; return EXIT_FAILURE; } + catch (solidity::test::ConfigException const& exception) + { + cerr << exception.what() << endl; + return EXIT_FAILURE; + } catch (...) { cerr << "Unhandled exception caught." << endl; From 0ee38c5d5410a369b20ba244c7f60a4114fcc227 Mon Sep 17 00:00:00 2001 From: ywon0925 <9788667@gmail.com> Date: Wed, 22 Jun 2022 20:53:40 +0900 Subject: [PATCH 2/2] Rename boostTest.cpp to soltest.cpp, changed CMakeLists.txt accordingly --- test/CMakeLists.txt | 2 +- test/{boostTest.cpp => soltest.cpp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{boostTest.cpp => soltest.cpp} (100%) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 255218c15..cc7a61bae 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,5 @@ set(sources - boostTest.cpp + soltest.cpp Common.cpp Common.h CommonSyntaxTest.cpp diff --git a/test/boostTest.cpp b/test/soltest.cpp similarity index 100% rename from test/boostTest.cpp rename to test/soltest.cpp