]> Git Repo - VerusCoin.git/blob - src/Makefile.gtest.include
Merge pull request #1473 from arcalinea/update-documentation
[VerusCoin.git] / src / Makefile.gtest.include
1 TESTS += zcash-gtest
2 bin_PROGRAMS += zcash-gtest
3
4 # tool for generating our public parameters
5 zcash_gtest_SOURCES = \
6         gtest/main.cpp \
7         gtest/json_test_vectors.cpp \
8         gtest/test_foundersreward.cpp \
9         gtest/test_jsonspirit.cpp \
10         gtest/test_tautology.cpp \
11         gtest/test_checktransaction.cpp \
12         gtest/test_equihash.cpp \
13         gtest/test_joinsplit.cpp \
14         gtest/test_keystore.cpp \
15         gtest/test_noteencryption.cpp \
16         gtest/test_merkletree.cpp \
17         gtest/test_pow.cpp \
18         gtest/test_rpc.cpp \
19         gtest/test_circuit.cpp \
20         gtest/test_txid.cpp \
21         gtest/test_wallet_zkeys.cpp \
22         gtest/test_libzcash_utils.cpp \
23         gtest/test_proofs.cpp \
24         wallet/gtest/test_wallet.cpp
25
26 zcash_gtest_CPPFLAGS = -DMULTICORE -fopenmp -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DSTATIC
27
28 zcash_gtest_LDADD = -lgtest -lgmock $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \
29   $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1)
30 if ENABLE_WALLET
31 zcash_gtest_LDADD += $(LIBBITCOIN_WALLET)
32 endif
33
34 zcash_gtest_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZCASH) $(LIBZCASH_LIBS)
35
36 zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static
37
38 zcash-gtest_check: zcash-gtest FORCE
39         ./zcash-gtest
40
41 zcash-gtest-expected-failures: zcash-gtest FORCE
42         ./zcash-gtest --gtest_filter=*DISABLED_* --gtest_also_run_disabled_tests
This page took 0.02526 seconds and 4 git commands to generate.