Add stress-test target to run valgrind

This commit is contained in:
K. Lange 2021-01-12 07:34:42 +09:00
parent d5645b3fb6
commit cc236b8da3

View File

@ -70,3 +70,7 @@ tags: $(wildcard *.c) $(wildcard *.h)
test:
@for i in test/*.krk; do echo $$i; KUROKO_TEST_ENV=1 ./kuroko $$i > $$i.expect; done
@git diff --exit-code test/*.expect
stress-test:
@for i in test/*.krk; do echo $$i; KUROKO_TEST_ENV=1 valgrind ./kuroko -g $$i > $$i.expect; done
@git diff --exit-code test/*.expect