Skip to content

Commit ef7abd2

Browse files
committed
Tests for all input modes in CommandLineParser
1 parent c17ee4f commit ef7abd2

File tree

2 files changed

+406
-1
lines changed

2 files changed

+406
-1
lines changed

test/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ set(libyul_sources
149149
)
150150
detect_stray_source_files("${libyul_sources}" "libyul/")
151151

152+
set(solcli_sources
153+
solc/CommandLineParser.cpp
154+
)
155+
detect_stray_source_files("${solcli_sources}" "solc/")
156+
152157
set(yul_phaser_sources
153158
yulPhaser/TestHelpers.h
154159
yulPhaser/TestHelpers.cpp
@@ -177,9 +182,10 @@ add_executable(soltest ${sources}
177182
${libyul_sources}
178183
${libsolidity_sources}
179184
${libsolidity_util_sources}
185+
${solcli_sources}
180186
${yul_phaser_sources}
181187
)
182-
target_link_libraries(soltest PRIVATE libsolc yul solidity smtutil solutil phaser Boost::boost yulInterpreter evmasm Boost::filesystem Boost::program_options Boost::unit_test_framework evmc)
188+
target_link_libraries(soltest PRIVATE solcli libsolc yul solidity smtutil solutil phaser Boost::boost yulInterpreter evmasm Boost::filesystem Boost::program_options Boost::unit_test_framework evmc)
183189

184190

185191
# Special compilation flag for Visual Studio (version 2019 at least affected)

0 commit comments

Comments
 (0)