From b13a87c6d7c334336aef98333c02a45bcc012ead Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 14 Oct 2016 13:36:53 -0700 Subject: [PATCH] Reorder gtests in zcash-gtest. There is an issue where checktransaction_tests will output errors to ~/.zcash/testnet3/debug.log because other tests which run before it select the testnet chain parameters. --- src/Makefile.gtest.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.gtest.include b/src/Makefile.gtest.include index b4cfd3c26..d08b7d607 100644 --- a/src/Makefile.gtest.include +++ b/src/Makefile.gtest.include @@ -4,11 +4,12 @@ bin_PROGRAMS += zcash-gtest # tool for generating our public parameters zcash_gtest_SOURCES = \ gtest/main.cpp \ + gtest/test_checktransaction.cpp \ gtest/json_test_vectors.cpp \ gtest/test_foundersreward.cpp \ + gtest/test_wallet_zkeys.cpp \ gtest/test_jsonspirit.cpp \ gtest/test_tautology.cpp \ - gtest/test_checktransaction.cpp \ gtest/test_equihash.cpp \ gtest/test_joinsplit.cpp \ gtest/test_keystore.cpp \ @@ -18,7 +19,6 @@ zcash_gtest_SOURCES = \ gtest/test_rpc.cpp \ gtest/test_circuit.cpp \ gtest/test_txid.cpp \ - gtest/test_wallet_zkeys.cpp \ gtest/test_libzcash_utils.cpp \ gtest/test_proofs.cpp \ wallet/gtest/test_wallet.cpp