make: add flakehunter-unit-all and flakehunter-unit-race

These two new goals take all the usual flags like pkg=, case=, nocache= and so
on.
This commit is contained in:
Oliver Gugger committed 2025-07-21 13:48:42 +02:00
1 parent 0860f2dac4
commit f96ad47d28
1 file changed
+10
+10
View File
@@ -286,6 +286,16 @@ flakehunter-unit:
@$(call print, "Flake hunting unit test.")
scripts/unit-test-flake-hunter.sh ${pkg} ${case}
#? flakehunter-unit-all: Run all unit tests continuously until one fails
flakehunter-unit-all: $(BTCD_BIN)
@$(call print, "Flake hunting unit tests.")
while [ $$? -eq 0 ]; do make unit; done
#? flakehunter-unit-race: Run all unit tests in race detector mode continuously until one fails
flakehunter-unit-race: $(BTCD_BIN)
@$(call print, "Flake hunting unit tests in race detector mode.")
while [ $$? -eq 0 ]; do make unit-race; done
#? flakehunter-itest-parallel: Run the integration tests continuously until one fails, running up to ITEST_PARALLELISM test tranches in parallel (default 4)
flakehunter-itest-parallel:
@$(call print, "Flake hunting ${backend} integration tests in parallel.")