From: Michael Orlitzky Date: Fri, 4 Nov 2016 23:11:45 +0000 (-0400) Subject: Add a "checkloop" makefile target to run tests forever. X-Git-Tag: 0.1.0~69 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=eacd89382ec94c3e4f86386c3970dbcc09d5448d;p=dunshire.git Add a "checkloop" makefile target to run tests forever. --- diff --git a/makefile b/makefile index 8eb2751..9f9798b 100644 --- a/makefile +++ b/makefile @@ -16,6 +16,15 @@ doctest: check: PYTHONPATH="." test/__main__.py +.PHONE: checkloop +checkloop: + COUNT=0; \ + while [ $$? -eq 0 ]; do \ + COUNT=`expr $$COUNT + 1`; \ + echo $$COUNT; \ + PYTHONPATH="." test/__main__.py; \ + done; + .PHONY: lint lint: pylint --rcfile=./.pylintrc $(SRCS)