[yul-phaser] Create test suite for Chromosome

This commit is contained in:
cameel 2020-01-17 07:51:45 +01:00
parent 785f65d0f5
commit f8e397b487
2 changed files with 32 additions and 0 deletions

View File

@ -138,6 +138,11 @@ set(libyul_sources
)
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}
${contracts_sources}
${libsolutil_sources}
@ -146,6 +151,7 @@ add_executable(soltest ${sources}
${libyul_sources}
${libsolidity_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)

View 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()
}