diff --git a/src/Makefile.test.include b/src/Makefile.test.include --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -95,6 +95,7 @@ test/scheduler_tests.cpp \ test/schnorr_tests.cpp \ test/script_commitment_tests.cpp \ + test/script_pushonly_tests.cpp \ test/script_P2SH_tests.cpp \ test/script_standard_tests.cpp \ test/script_tests.cpp \ diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -111,6 +111,7 @@ scheduler_tests.cpp schnorr_tests.cpp script_commitment_tests.cpp + script_pushonly_tests.cpp script_P2SH_tests.cpp script_standard_tests.cpp script_tests.cpp diff --git a/src/test/script_pushonly_tests.cpp b/src/test/script_pushonly_tests.cpp new file mode 100644 --- /dev/null +++ b/src/test/script_pushonly_tests.cpp @@ -0,0 +1,208 @@ +// Copyright (c) 2019 The Bitcoin developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include