Only run wallet tests when wallet is enabled

This commit is contained in:
Jack Grigg
2016-12-16 10:52:00 +13:00
parent f3e4968626
commit 6daab5b4fc
3 changed files with 6 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ zcash_gtest_SOURCES = \
gtest/json_test_vectors.cpp \
gtest/json_test_vectors.h \
gtest/test_foundersreward.cpp \
gtest/test_wallet_zkeys.cpp \
gtest/test_jsonspirit.cpp \
gtest/test_tautology.cpp \
gtest/test_equihash.cpp \
@@ -31,7 +30,8 @@ zcash_gtest_SOURCES = \
gtest/test_checkblock.cpp
if ENABLE_WALLET
zcash_gtest_SOURCES += \
wallet/gtest/test_wallet.cpp
wallet/gtest/test_wallet.cpp \
wallet/gtest/test_wallet_zkeys.cpp
endif
zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC