Skip to content

Commit

Permalink
[Cleanup][Tests] Remove zerocoin unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Dec 2, 2020
1 parent 7ba49eb commit c340155
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 99 deletions.
9 changes: 2 additions & 7 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ SAPLING_TESTS =\
test/librust/merkletree_tests.cpp \
test/librust/transaction_builder_tests.cpp

ZEROCOIN_TESTS =\
test/zerocoin_bignum_tests.cpp

if ENABLE_WALLET
BITCOIN_TESTS += \
wallet/test/wallet_tests.cpp \
Expand All @@ -126,7 +123,7 @@ SAPLING_TESTS +=\
wallet/test/wallet_shielded_balances_tests.cpp
endif

test_test_pivx_SOURCES = $(BITCOIN_TEST_SUITE) $(BITCOIN_TESTS) $(SAPLING_TESTS) $(ZEROCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
test_test_pivx_SOURCES = $(BITCOIN_TEST_SUITE) $(BITCOIN_TESTS) $(SAPLING_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
test_test_pivx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -I$(builddir)/test/ $(TESTDEFS) $(EVENT_FLAGS)
test_test_pivx_LDADD =

Expand Down Expand Up @@ -175,9 +172,7 @@ endif

check-sapling: $(SAPLING_TESTS:.cpp=.cpp.test)

check-zerocoin: $(ZEROCOIN_TESTS:.cpp=.cpp.test)

check-local: check-sapling check-zerocoin check-standard
check-local: check-sapling check-standard

%.cpp.test: %.cpp
@echo Running tests: `cat $< | grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1` from $<
Expand Down
2 changes: 0 additions & 2 deletions src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ set(BITCOIN_TEST_SUITE

set(BITCOIN_TESTS
${CMAKE_CURRENT_SOURCE_DIR}/arith_uint256_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/zerocoin_denomination_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/zerocoin_bignum_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/addrman_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/allocator_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/librust/libsapling_utils_tests.cpp
Expand Down
90 changes: 0 additions & 90 deletions src/test/zerocoin_bignum_tests.cpp

This file was deleted.

0 comments on commit c340155

Please sign in to comment.