Skip to content

Commit a2a04a5

Browse files
committed
Bugfix: Only run bitcoin-tx tests when bitcoin-tx is enabled
1 parent 92af71c commit a2a04a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Makefile.test.include

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,10 @@ bitcoin_test_clean : FORCE
174174
rm -f $(CLEAN_BITCOIN_TEST) $(test_test_bitcoin_OBJECTS) $(TEST_BINARY)
175175

176176
check-local: $(BITCOIN_TESTS:.cpp=.cpp.test)
177+
if BUILD_BITCOIN_TX
177178
@echo "Running test/util/bitcoin-util-test.py..."
178179
$(PYTHON) $(top_builddir)/test/util/bitcoin-util-test.py
180+
endif
179181
@echo "Running test/util/rpcauth-test.py..."
180182
$(PYTHON) $(top_builddir)/test/util/rpcauth-test.py
181183
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check

0 commit comments

Comments
 (0)