testsuite: Add a make command to run tests forever
And will stop once they fail. Useful to debug racy tests.
This commit is contained in:
parent
4e4393c40c
commit
21a885d462
@ -114,6 +114,13 @@ TESTS_ENVIRONMENT = PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$
|
|||||||
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py $*
|
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py $*
|
||||||
@rm -fr *.pyc
|
@rm -fr *.pyc
|
||||||
|
|
||||||
|
%.forever: %
|
||||||
|
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/cleanup.py
|
||||||
|
@while true; do \
|
||||||
|
PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) \
|
||||||
|
$(PYTHON) $(srcdir)/runtests.py $* || break; done
|
||||||
|
@rm -fr *.pyc
|
||||||
|
|
||||||
# valgrind all tests
|
# valgrind all tests
|
||||||
valgrind: $(tests)
|
valgrind: $(tests)
|
||||||
@echo "Valgrinding tests ..."
|
@echo "Valgrinding tests ..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user