Makefile+action: add make unit-module to test submodules

This commit adds a new command `make unit-module` to run unit tests for
submodules to avoid future build errors.
This commit is contained in:
yyforyongyu committed 2023-09-06 02:47:55 +08:00
1 parent 08f4940e88
commit 5296509474
3 files changed
+34

No files matched your search

+4
View File
@@ -184,6 +184,10 @@ unit: $(BTCD_BIN)
@$(call print, "Running unit tests.")
$(UNIT)
unit-module:
@$(call print, "Running submodule unit tests.")
scripts/unit_test_modules.sh
unit-debug: $(BTCD_BIN)
@$(call print, "Running debug unit tests.")
$(UNIT_DEBUG)