aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2024-02-03 17:43:55 +0100
committerTheCharlatan <seb.kung@gmail.com>2024-02-03 17:59:43 +0100
commit5ca9b24da18e842e7a093dc44f6b222af73e92cf (patch)
treeaf4f6ed2250cabd65611cbd9622484897441505e /src/Makefile.test.include
parenta11585692e72cac468fb1496ea2c30e4c07f73e5 (diff)
downloadbitcoin-5ca9b24da18e842e7a093dc44f6b222af73e92cf.tar.xz
test: Add makefile target for running unit tests
make check runs a bunch of other subtree tests that exercise code that is hardly ever changed and have a comparatively long runtime. There seems to be no target for running just the unit tests, so add one.
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 69d44dbde6..9f9bdbbd0c 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -419,7 +419,9 @@ bitcoin_test_check: $(TEST_BINARY) FORCE
bitcoin_test_clean : FORCE
rm -f $(CLEAN_BITCOIN_TEST) $(test_test_bitcoin_OBJECTS) $(TEST_BINARY)
-check-local: $(BITCOIN_TESTS:.cpp=.cpp.test)
+check-unit: $(BITCOIN_TESTS:.cpp=.cpp.test)
+
+check-local: check-unit
if BUILD_BITCOIN_TX
@echo "Running test/util/test_runner.py..."
$(PYTHON) $(top_builddir)/test/util/test_runner.py