testsuite/Makefile.am: Add a way to run individual tests. 'make test_bin.py.check' for example.

Original commit message from CVS:
* testsuite/Makefile.am:
Add a way to run individual tests.
'make test_bin.py.check' for example.
This commit is contained in:
Edward Hervey 2008-12-06 15:39:01 +00:00
parent 7ebe9f4fe4
commit d658b7b222
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-12-06 Edward Hervey <edward.hervey@collabora.co.uk>
* testsuite/Makefile.am:
Add a way to run individual tests.
'make test_bin.py.check' for example.
2008-12-06 Edward Hervey <edward.hervey@collabora.co.uk>
* examples/gst-discover:

View file

@ -87,6 +87,11 @@ TESTS_ENVIRONMENT = PYTHONPATH=$(top_srcdir)/:$(PYTHONPATH)
fi
@rm valgrind.log
%.check: %
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/cleanup.py
@PYTHONPATH=$(top_builddir):$(top_builddir)/gst/.libs:`pwd`:$(top_srcdir):$(PYTHONPATH) $(PYTHON) $(srcdir)/runtests.py $*
@rm -fr *.pyc
# valgrind all tests
valgrind: $(tests)
@echo "Valgrinding tests ..."