From d658b7b2225e22bb9daedd0281f8d510779b15c8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 6 Dec 2008 15:39:01 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ testsuite/Makefile.am | 5 +++++ 2 files changed, 11 insertions(+) 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 ..."