makefile: add itest-clean to kill uncleaned processes

This commit is contained in:
yyforyongyu committed 2021-12-04 14:54:37 +08:00
1 parent 05ac516762
commit 0379b4f1bf
1 file changed
+4
+4
View File
@@ -199,6 +199,10 @@ itest-parallel: build-itest db-instance
rm -rf lntest/itest/*.log lntest/itest/.logs-*; date
EXEC_SUFFIX=$(EXEC_SUFFIX) echo "$$(seq 0 $$(expr $(ITEST_PARALLELISM) - 1))" | xargs -P $(ITEST_PARALLELISM) -n 1 -I {} scripts/itest_part.sh {} $(NUM_ITEST_TRANCHES) $(TEST_FLAGS) $(ITEST_FLAGS)
itest-clean:
@$(call print, "Cleaning old itest processes")
killall lnd-itest || echo "no running lnd-itest process found";
unit: btcd
@$(call print, "Running unit tests.")
$(UNIT)