]>
Commit | Line | Data |
---|---|---|
6bd8e469 | 1 | TESTS += zcash-gtest |
3ab0c1a7 NW |
2 | bin_PROGRAMS += zcash-gtest |
3 | ||
4 | # tool for generating our public parameters | |
5 | zcash_gtest_SOURCES = \ | |
6 | gtest/main.cpp \ | |
f0dab51c | 7 | gtest/json_test_vectors.cpp \ |
6ad4db22 | 8 | gtest/test_tautology.cpp \ |
0000d231 | 9 | gtest/test_checktransaction.cpp \ |
5b4ebcd5 | 10 | gtest/test_equihash.cpp \ |
5a2db9e2 | 11 | gtest/test_joinsplit.cpp \ |
7c929cf5 | 12 | gtest/test_keystore.cpp \ |
0000d231 | 13 | gtest/test_noteencryption.cpp \ |
81469bbb | 14 | gtest/test_merkletree.cpp \ |
2668a1bc | 15 | gtest/test_circuit.cpp \ |
2a7fde3f | 16 | gtest/test_txid.cpp \ |
4cea36be | 17 | gtest/test_wallet_zkeys.cpp \ |
f0dab51c SB |
18 | gtest/test_libzcash_utils.cpp \ |
19 | gtest/test_proofs.cpp | |
3ab0c1a7 | 20 | |
fd7c139e | 21 | zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC |
9285bba8 | 22 | |
fc057da4 | 23 | zcash_gtest_LDADD = -lgtest -lgmock $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
6ad4db22 TH |
24 | $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) |
25 | if ENABLE_WALLET | |
26 | zcash_gtest_LDADD += $(LIBBITCOIN_WALLET) | |
27 | endif | |
28 | ||
1785bdb9 | 29 | zcash_gtest_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZCASH) $(LIBZCASH_LIBS) |
6ad4db22 TH |
30 | |
31 | zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static | |
3ab0c1a7 NW |
32 | |
33 | zcash-gtest_check: zcash-gtest FORCE | |
34 | ./zcash-gtest |