check.mak: add a valgrind-forever target for tests

Original commit message from CVS:

* check.mak:
add a valgrind-forever target for tests
parent f31468e9
2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
* check.mak:
add a valgrind-forever target for tests
2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
* check.mak:
......
......@@ -54,6 +54,11 @@ LOOPS = 10
fi
@rm valgrind.log
# valgrind any given test until failure by running make test.valgrind-forever
%.valgrind-forever: %
@while make $*.valgrind; do \
true; done
# gdb any given test by running make test.gdb
%.gdb: %
$(TESTS_ENVIRONMENT) \
......@@ -103,3 +108,4 @@ help:
@echo
@echo "make valgrind -- valgrind all tests"
@echo "make (dir)/(test).valgrind -- valgrind the given test"
@echo "make (dir)/(test).valgrind-forever -- valgrind the given test forever"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment