From 56d5dd46687026d2fab80f1b38e8314b080267ab Mon Sep 17 00:00:00 2001 From: Lazaridis Date: Sun, 25 Nov 2018 02:02:32 +0200 Subject: [PATCH] decouple TestCase class from test/libsolidity --- test/{libsolidity => }/TestCase.cpp | 2 +- test/{libsolidity => }/TestCase.h | 0 test/libsolidity/ASTJSONTest.h | 2 +- test/libsolidity/SyntaxTest.h | 2 +- test/libyul/YulOptimizerTest.h | 2 +- test/tools/CMakeLists.txt | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename test/{libsolidity => }/TestCase.cpp (97%) rename test/{libsolidity => }/TestCase.h (100%) diff --git a/test/libsolidity/TestCase.cpp b/test/TestCase.cpp similarity index 97% rename from test/libsolidity/TestCase.cpp rename to test/TestCase.cpp index 179722698..e9e2c9f21 100644 --- a/test/libsolidity/TestCase.cpp +++ b/test/TestCase.cpp @@ -15,7 +15,7 @@ along with solidity. If not, see . */ -#include +#include #include #include diff --git a/test/libsolidity/TestCase.h b/test/TestCase.h similarity index 100% rename from test/libsolidity/TestCase.h rename to test/TestCase.h diff --git a/test/libsolidity/ASTJSONTest.h b/test/libsolidity/ASTJSONTest.h index 9760ef660..dcdaf2210 100644 --- a/test/libsolidity/ASTJSONTest.h +++ b/test/libsolidity/ASTJSONTest.h @@ -18,7 +18,7 @@ #pragma once #include -#include +#include #include #include diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h index d286f9341..12c14087b 100644 --- a/test/libsolidity/SyntaxTest.h +++ b/test/libsolidity/SyntaxTest.h @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include diff --git a/test/libyul/YulOptimizerTest.h b/test/libyul/YulOptimizerTest.h index 72c4299fc..90026e243 100644 --- a/test/libyul/YulOptimizerTest.h +++ b/test/libyul/YulOptimizerTest.h @@ -17,7 +17,7 @@ #pragma once -#include +#include namespace langutil { diff --git a/test/tools/CMakeLists.txt b/test/tools/CMakeLists.txt index a0fbe140f..736212fc7 100644 --- a/test/tools/CMakeLists.txt +++ b/test/tools/CMakeLists.txt @@ -4,7 +4,7 @@ target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_L add_executable(yulopti yulopti.cpp) target_link_libraries(yulopti PRIVATE solidity ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES}) -add_executable(isoltest isoltest.cpp ../Options.cpp ../Common.cpp ../libsolidity/TestCase.cpp ../libsolidity/SyntaxTest.cpp +add_executable(isoltest isoltest.cpp ../Options.cpp ../Common.cpp ../TestCase.cpp ../libsolidity/SyntaxTest.cpp ../libsolidity/AnalysisFramework.cpp ../libsolidity/SolidityExecutionFramework.cpp ../ExecutionFramework.cpp ../RPCSession.cpp ../libsolidity/ASTJSONTest.cpp ../libsolidity/SMTCheckerJSONTest.cpp ../libyul/YulOptimizerTest.cpp) target_link_libraries(isoltest PRIVATE libsolc solidity evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})