diff --git a/ChangeLog b/ChangeLog index 9ac87d2c9f..d1595b7b47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-06 Edward Hervey + + * testsuite/Makefile.am: + Add a way to run individual tests. + 'make test_bin.py.check' for example. + 2008-12-06 Edward Hervey * examples/gst-discover: diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index f539665c9f..1d57607e6a 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -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 ..."