]>
Commit | Line | Data |
---|---|---|
6bd8e469 | 1 | TESTS += zcash-gtest |
3ab0c1a7 NW |
2 | bin_PROGRAMS += zcash-gtest |
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 |
7 | zcash_gtest_SOURCES = \ |
8 | gtest/main.cpp \ | |
3774c944 | 9 | gtest/utils.cpp \ |
b13a87c6 | 10 | gtest/test_checktransaction.cpp \ |
e80490f5 | 11 | gtest/test_checkblock.cpp \ |
f0dab51c | 12 | gtest/json_test_vectors.cpp \ |
b2ba9d64 | 13 | gtest/json_test_vectors.h \ |
db0f9315 | 14 | gtest/test_foundersreward.cpp \ |
b13a87c6 | 15 | gtest/test_wallet_zkeys.cpp \ |
df3af446 | 16 | gtest/test_jsonspirit.cpp \ |
6ad4db22 | 17 | gtest/test_tautology.cpp \ |
5b4ebcd5 | 18 | gtest/test_equihash.cpp \ |
5a2db9e2 | 19 | gtest/test_joinsplit.cpp \ |
7c929cf5 | 20 | gtest/test_keystore.cpp \ |
0000d231 | 21 | gtest/test_noteencryption.cpp \ |
81469bbb | 22 | gtest/test_merkletree.cpp \ |
5fbb839f | 23 | gtest/test_pow.cpp \ |
0382417f | 24 | gtest/test_random.cpp \ |
3e3da44c | 25 | gtest/test_rpc.cpp \ |
3774c944 | 26 | gtest/test_transaction.cpp \ |
2668a1bc | 27 | gtest/test_circuit.cpp \ |
2a7fde3f | 28 | gtest/test_txid.cpp \ |
f0dab51c | 29 | gtest/test_libzcash_utils.cpp \ |
02e67455 JG |
30 | gtest/test_proofs.cpp \ |
31 | wallet/gtest/test_wallet.cpp | |
3ab0c1a7 | 32 | |
fd7c139e | 33 | zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC |
9285bba8 | 34 | |
fc057da4 | 35 | zcash_gtest_LDADD = -lgtest -lgmock $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
6ad4db22 TH |
36 | $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) |
37 | if ENABLE_WALLET | |
38 | zcash_gtest_LDADD += $(LIBBITCOIN_WALLET) | |
39 | endif | |
40 | ||
08d6b02d | 41 | zcash_gtest_LDADD += $(LIBZCASH_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZCASH) $(LIBZCASH_LIBS) |
6ad4db22 TH |
42 | |
43 | zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static | |
3ab0c1a7 NW |
44 | |
45 | zcash-gtest_check: zcash-gtest FORCE | |
46 | ./zcash-gtest | |
e9006272 JG |
47 | |
48 | zcash-gtest-expected-failures: zcash-gtest FORCE | |
49 | ./zcash-gtest --gtest_filter=*DISABLED_* --gtest_also_run_disabled_tests |