]> Git Repo - VerusCoin.git/blame - src/Makefile.gtest.include
Auto merge of #2429 - hajdbo:master, r=daira
[VerusCoin.git] / src / Makefile.gtest.include
CommitLineData
6bd8e469 1TESTS += zcash-gtest
8e0fc390 2noinst_PROGRAMS += zcash-gtest
3ab0c1a7 3
e80490f5
JG
4# tool for generating our public parameters.
5# test_checktransaction.cpp MUST be before
6# any test that calls SelectParams().
3ab0c1a7
NW
7zcash_gtest_SOURCES = \
8 gtest/main.cpp \
3774c944 9 gtest/utils.cpp \
b13a87c6 10 gtest/test_checktransaction.cpp \
f0dab51c 11 gtest/json_test_vectors.cpp \
6b820113 12 gtest/json_test_vectors.h \
5ae34782
JG
13 gtest/test_foundersreward.cpp
14# These tests are order-dependent, because they
15# depend on global state (see #1539)
16if ENABLE_WALLET
17zcash_gtest_SOURCES += \
18 wallet/gtest/test_wallet_zkeys.cpp
19endif
20zcash_gtest_SOURCES += \
6ad4db22 21 gtest/test_tautology.cpp \
5b3bc971 22 gtest/test_deprecation.cpp \
5b4ebcd5 23 gtest/test_equihash.cpp \
5a2db9e2 24 gtest/test_joinsplit.cpp \
7c929cf5 25 gtest/test_keystore.cpp \
0000d231 26 gtest/test_noteencryption.cpp \
c83c5932 27 gtest/test_mempool.cpp \
81469bbb 28 gtest/test_merkletree.cpp \
000499ae 29 gtest/test_metrics.cpp \
8e8b6d70 30 gtest/test_miner.cpp \
5fbb839f 31 gtest/test_pow.cpp \
0382417f 32 gtest/test_random.cpp \
3e3da44c 33 gtest/test_rpc.cpp \
3774c944 34 gtest/test_transaction.cpp \
2668a1bc 35 gtest/test_circuit.cpp \
2a7fde3f 36 gtest/test_txid.cpp \
f0dab51c 37 gtest/test_libzcash_utils.cpp \
02e67455 38 gtest/test_proofs.cpp \
0bb3d40f
JG
39 gtest/test_checkblock.cpp
40if ENABLE_WALLET
41zcash_gtest_SOURCES += \
5ae34782 42 wallet/gtest/test_wallet.cpp
0bb3d40f 43endif
3ab0c1a7 44
2cc6bab2 45zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC $(BITCOIN_INCLUDES)
9285bba8 46
2cc6bab2 47zcash_gtest_LDADD = -lgtest -lgmock $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \
6ad4db22 48 $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1)
8b99caa3
JG
49if ENABLE_ZMQ
50zcash_gtest_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
51endif
6ad4db22
TH
52if ENABLE_WALLET
53zcash_gtest_LDADD += $(LIBBITCOIN_WALLET)
54endif
55
077ddc11 56zcash_gtest_LDADD += $(LIBZCASH_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(LIBZCASH) $(LIBZCASH_LIBS)
6ad4db22 57
99eb947a
S
58if ENABLE_PROTON
59zcash_gtest_LDADD += $(LIBBITCOIN_PROTON) $(PROTON_LIBS)
60endif
61
62
6ad4db22 63zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static
3ab0c1a7
NW
64
65zcash-gtest_check: zcash-gtest FORCE
66 ./zcash-gtest
e9006272
JG
67
68zcash-gtest-expected-failures: zcash-gtest FORCE
69 ./zcash-gtest --gtest_filter=*DISABLED_* --gtest_also_run_disabled_tests
This page took 0.078342 seconds and 4 git commands to generate.