Skip to content

Commit

Permalink
Merge pull request #197 from JaredTate/develop
Browse files Browse the repository at this point in the history
Disable Benchmarks For Default Compiling & Make Check
  • Loading branch information
ycagel authored Mar 15, 2024
2 parents a5c305f + 8943adf commit 7d4666c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ AC_ARG_ENABLE(gui-tests,
AC_ARG_ENABLE(bench,
AS_HELP_STRING([--disable-bench],[do not compile benchmarks (default is to compile)]),
[use_bench=$enableval],
[use_bench=yes])
[use_bench=no])

AC_ARG_ENABLE([extended-functional-tests],
AS_HELP_STRING([--enable-extended-functional-tests],[enable expensive functional tests when using lcov (default no)]),
Expand Down
2 changes: 1 addition & 1 deletion src/bench/block_assemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static void AssembleBlock(benchmark::Bench& bench)

// Collect some loose transactions that spend the coinbases of our mined blocks
constexpr size_t NUM_BLOCKS{130};
std::array<CTransactionRef, NUM_BLOCKS - COINBASE_MATURITY + 1> txs;
std::array<CTransactionRef, NUM_BLOCKS - COINBASE_MATURITY_2 + 1> txs;
for (size_t b{0}; b < NUM_BLOCKS; ++b) {
CMutableTransaction tx;
tx.vin.push_back(MineBlock(test_setup->m_node, P2WSH_OP_TRUE));
Expand Down

0 comments on commit 7d4666c

Please sign in to comment.