mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] Create test suite for Chromosome
This commit is contained in:
parent
785f65d0f5
commit
f8e397b487
@ -138,6 +138,11 @@ set(libyul_sources
|
|||||||
)
|
)
|
||||||
detect_stray_source_files("${libyul_sources}" "libyul/")
|
detect_stray_source_files("${libyul_sources}" "libyul/")
|
||||||
|
|
||||||
|
set(yul_phaser_sources
|
||||||
|
yulPhaser/Chromosome.cpp
|
||||||
|
)
|
||||||
|
detect_stray_source_files("${yul_phaser_sources}" "yulPhaser/")
|
||||||
|
|
||||||
add_executable(soltest ${sources}
|
add_executable(soltest ${sources}
|
||||||
${contracts_sources}
|
${contracts_sources}
|
||||||
${libsolutil_sources}
|
${libsolutil_sources}
|
||||||
@ -146,6 +151,7 @@ add_executable(soltest ${sources}
|
|||||||
${libyul_sources}
|
${libyul_sources}
|
||||||
${libsolidity_sources}
|
${libsolidity_sources}
|
||||||
${libsolidity_util_sources}
|
${libsolidity_util_sources}
|
||||||
|
${yul_phaser_sources}
|
||||||
)
|
)
|
||||||
target_link_libraries(soltest PRIVATE libsolc yul solidity yulInterpreter evmasm solutil Boost::boost Boost::program_options Boost::unit_test_framework evmc)
|
target_link_libraries(soltest PRIVATE libsolc yul solidity yulInterpreter evmasm solutil Boost::boost Boost::program_options Boost::unit_test_framework evmc)
|
||||||
|
|
||||||
|
26
test/yulPhaser/Chromosome.cpp
Normal file
26
test/yulPhaser/Chromosome.cpp
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
This file is part of solidity.
|
||||||
|
|
||||||
|
solidity is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
solidity is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with solidity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
|
namespace solidity::phaser::test
|
||||||
|
{
|
||||||
|
|
||||||
|
BOOST_AUTO_TEST_SUITE(ChromosomeTest)
|
||||||
|
BOOST_AUTO_TEST_SUITE_END()
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user