mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-14 11:25:39 +00:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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 $*
|
||||
@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: $(tests)
|
||||
@echo "Valgrinding tests ..."
|
||||
|
|
Loading…
Reference in a new issue