forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move test tools to the subdirectory test/tools and adjust CMakeLists.…
…txt.
- Loading branch information
Showing
6 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,7 +126,7 @@ jobs: | |
paths: | ||
- solc/solc | ||
- test/soltest | ||
- test/solfuzzer | ||
- test/tools/solfuzzer | ||
|
||
test_x86: | ||
docker: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
file(GLOB_RECURSE sources "*.cpp") | ||
list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/fuzzer.cpp") | ||
file(GLOB_RECURSE headers "*.h") | ||
file(GLOB sources "*.cpp") | ||
file(GLOB headers "*.h") | ||
|
||
add_executable(soltest ${sources} ${headers}) | ||
file(GLOB contracts_sources "contracts/*.cpp") | ||
file(GLOB contracts_headers "contracts/*.h") | ||
file(GLOB libdevcore_sources "libdevcore/*.cpp") | ||
file(GLOB libdevcore_headers "libdevcore/*.h") | ||
file(GLOB libevmasm_sources "libevmasm/*.cpp") | ||
file(GLOB libevmasm_headers "libevmasm/*.h") | ||
file(GLOB libjulia_sources "libjulia/*.cpp") | ||
file(GLOB libjulia_headers "libjulia/*.h") | ||
file(GLOB liblll_sources "liblll/*.cpp") | ||
file(GLOB liblll_headers "liblll/*.h") | ||
file(GLOB libsolidity_sources "libsolidity/*.cpp") | ||
file(GLOB libsolidity_headers "libsolidity/*.h") | ||
|
||
add_executable(soltest ${sources} ${headers} | ||
${contracts_sources} ${contracts_headers} | ||
${libdevcore_sources} ${libdevcore_headers} | ||
${libevmasm_sources} ${libevmasm_headers} | ||
${libjulia_sources} ${libjulia_headers} | ||
${liblll_sources} ${liblll_headers} | ||
${libsolidity_sources} ${libsolidity_headers} | ||
) | ||
target_link_libraries(soltest PRIVATE libsolc solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) | ||
|
||
add_executable(solfuzzer fuzzer.cpp) | ||
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES}) | ||
add_subdirectory(tools) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_executable(solfuzzer fuzzer.cpp) | ||
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES}) |
File renamed without changes.