diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 859b9132067..189856eb9bb 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -103,6 +103,7 @@ add_executable(test_bitcoin rpc_tests.cpp sanity_tests.cpp scheduler_tests.cpp + script_assets_tests.cpp script_p2sh_tests.cpp script_parse_tests.cpp script_segwit_tests.cpp @@ -194,7 +195,7 @@ function(add_boost_test source_file) COMMAND test_bitcoin --run_test=${test_suite_name} --catch_system_error=no --log_level=test_suite -- DEBUG_LOG_OUT ) set_property(TEST ${test_suite_name} PROPERTY - SKIP_REGULAR_EXPRESSION "no test cases matching filter" + SKIP_REGULAR_EXPRESSION "no test cases matching filter" "skipping script_assets_test" ) endif() endfunction() diff --git a/src/test/script_assets_tests.cpp b/src/test/script_assets_tests.cpp new file mode 100644 index 00000000000..9f788388d35 --- /dev/null +++ b/src/test/script_assets_tests.cpp @@ -0,0 +1,189 @@ +// Copyright (c) 2011-present The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include +#include