|
|
|
@ -2,11 +2,11 @@
@@ -2,11 +2,11 @@
|
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
|
|
TESTS += test/test_litecoin |
|
|
|
|
bin_PROGRAMS += test/test_litecoin |
|
|
|
|
noinst_PROGRAMS += test/test_litecoin_fuzzy |
|
|
|
|
TESTS += test/test_kevacoin |
|
|
|
|
bin_PROGRAMS += test/test_kevacoin |
|
|
|
|
noinst_PROGRAMS += test/test_kevacoin_fuzzy |
|
|
|
|
TEST_SRCDIR = test |
|
|
|
|
TEST_BINARY=test/test_litecoin$(EXEEXT) |
|
|
|
|
TEST_BINARY=test/test_kevacoin$(EXEEXT) |
|
|
|
|
|
|
|
|
|
JSON_TEST_FILES = \
|
|
|
|
|
test/data/script_tests.json \
|
|
|
|
@ -97,31 +97,31 @@ BITCOIN_TESTS += \
@@ -97,31 +97,31 @@ BITCOIN_TESTS += \
|
|
|
|
|
wallet/test/crypto_tests.cpp |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
test_test_litecoin_SOURCES = $(BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES) |
|
|
|
|
test_test_litecoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EVENT_CFLAGS) |
|
|
|
|
test_test_litecoin_LDADD = |
|
|
|
|
test_test_kevacoin_SOURCES = $(BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES) |
|
|
|
|
test_test_kevacoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EVENT_CFLAGS) |
|
|
|
|
test_test_kevacoin_LDADD = |
|
|
|
|
if ENABLE_WALLET |
|
|
|
|
test_test_litecoin_LDADD += $(LIBBITCOIN_WALLET) |
|
|
|
|
test_test_kevacoin_LDADD += $(LIBBITCOIN_WALLET) |
|
|
|
|
endif |
|
|
|
|
test_test_litecoin_LDADD += $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) \
|
|
|
|
|
test_test_kevacoin_LDADD += $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) \
|
|
|
|
|
$(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) $(EVENT_LIBS) $(EVENT_PTHREADS_LIBS) |
|
|
|
|
test_test_litecoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
|
test_test_kevacoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
|
|
|
|
|
|
test_test_litecoin_LDADD += $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) |
|
|
|
|
test_test_litecoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static |
|
|
|
|
test_test_kevacoin_LDADD += $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) |
|
|
|
|
test_test_kevacoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static |
|
|
|
|
|
|
|
|
|
if ENABLE_ZMQ |
|
|
|
|
test_test_litecoin_LDADD += $(ZMQ_LIBS) |
|
|
|
|
test_test_kevacoin_LDADD += $(ZMQ_LIBS) |
|
|
|
|
endif |
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# test_bitcoin_fuzzy binary #
|
|
|
|
|
test_test_litecoin_fuzzy_SOURCES = test/test_bitcoin_fuzzy.cpp |
|
|
|
|
test_test_litecoin_fuzzy_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) |
|
|
|
|
test_test_litecoin_fuzzy_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
|
test_test_litecoin_fuzzy_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) |
|
|
|
|
test_test_kevacoin_fuzzy_SOURCES = test/test_bitcoin_fuzzy.cpp |
|
|
|
|
test_test_kevacoin_fuzzy_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) |
|
|
|
|
test_test_kevacoin_fuzzy_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) |
|
|
|
|
test_test_kevacoin_fuzzy_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) |
|
|
|
|
|
|
|
|
|
test_test_litecoin_fuzzy_LDADD = \
|
|
|
|
|
test_test_kevacoin_fuzzy_LDADD = \
|
|
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
|
$(LIBBITCOIN_SERVER) \
|
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
@ -130,10 +130,10 @@ test_test_litecoin_fuzzy_LDADD = \
@@ -130,10 +130,10 @@ test_test_litecoin_fuzzy_LDADD = \
|
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
|
|
|
|
$(LIBSECP256K1) |
|
|
|
|
|
|
|
|
|
test_test_litecoin_fuzzy_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS) |
|
|
|
|
test_test_kevacoin_fuzzy_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS) |
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
nodist_test_test_litecoin_SOURCES = $(GENERATED_TEST_FILES) |
|
|
|
|
nodist_test_test_kevacoin_SOURCES = $(GENERATED_TEST_FILES) |
|
|
|
|
|
|
|
|
|
$(BITCOIN_TESTS): $(GENERATED_TEST_FILES) |
|
|
|
|
|
|
|
|
|