]>
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 \ | |
6ad4db22 | 7 | gtest/test_tautology.cpp \ |
0000d231 | 8 | gtest/test_checktransaction.cpp \ |
5b4ebcd5 | 9 | gtest/test_equihash.cpp \ |
5a2db9e2 | 10 | gtest/test_joinsplit.cpp \ |
0000d231 | 11 | gtest/test_noteencryption.cpp \ |
81469bbb | 12 | gtest/test_merkletree.cpp \ |
2668a1bc SB |
13 | gtest/test_circuit.cpp \ |
14 | gtest/test_libzcash_utils.cpp | |
3ab0c1a7 | 15 | |
fd7c139e | 16 | zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC |
9285bba8 | 17 | |
fc057da4 | 18 | zcash_gtest_LDADD = -lgtest -lgmock $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
6ad4db22 TH |
19 | $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) |
20 | if ENABLE_WALLET | |
21 | zcash_gtest_LDADD += $(LIBBITCOIN_WALLET) | |
22 | endif | |
23 | ||
1785bdb9 | 24 | zcash_gtest_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZCASH) $(LIBZCASH_LIBS) |
6ad4db22 TH |
25 | |
26 | zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static | |
3ab0c1a7 NW |
27 | |
28 | zcash-gtest_check: zcash-gtest FORCE | |
29 | ./zcash-gtest |