bilboed gst-python: gst-python/ gst-python/testsuite/

[email protected] Sat, 6 Dec 2008 07:39:16 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-python
Changes by:     bilboed
Date:           Sat Dec 06 2008  15:39:16 UTC

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

Modified files:
    .               : ChangeLog
    testsuite       : Makefile.am

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/ChangeLog.diff?r1=1.696&r2=1.697
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/testsuite/Makefile.am.diff?r1=1.35&r2=1.36

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-python/ChangeLog,v
retrieving revision 1.696
retrieving revision 1.697
diff -u -d -r1.696 -r1.697
--- ChangeLog	6 Dec 2008 14:13:55 -0000	1.696
+++ ChangeLog	6 Dec 2008 15:39:01 -0000	1.697
@@ -1,5 +1,11 @@
 2008-12-06  Edward Hervey  <[email protected]>
 
+	* testsuite/Makefile.am:
+	Add a way to run individual tests.
+	'make test_bin.py.check' for example.
+
+2008-12-06  Edward Hervey  <[email protected]>
 	* examples/gst-discover:
 	Beautify output of discoverer's duration.
Index: Makefile.am
RCS file: /cvs/gstreamer/gst-python/testsuite/Makefile.am,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Makefile.am	1 Jan 2008 13:22:21 -0000	1.35
+++ Makefile.am	6 Dec 2008 15:39:01 -0000	1.36
@@ -87,6 +87,11 @@
 	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 ..."

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/