diff --git a/python/Makefile b/python/Makefile index c92499c..cf127f5 100644 --- a/python/Makefile +++ b/python/Makefile @@ -45,9 +45,9 @@ test: setup .PHONY: clean clean: + python Setup.py clean -rm tstools/*.so - -rm -rf build/ .PHONY: distclean distclean: clean - -rm tstools/*.c tstools/*.dep + -rm tstools/*.c diff --git a/python/test.txt b/python/test.txt index d6e5966..777921d 100644 --- a/python/test.txt +++ b/python/test.txt @@ -1,34 +1,6 @@ Some tests for the Python binding of the TS tools ================================================= -We'd like the tstools C messages to get captured by doctest, so we can see -them in our tests, so: - - >>> import tstools - >>> tstools.setup_printing_for_doctest() - Printing redirected for doctest - >>> tstools.test_printing() - YY Message - YY Error - XX Message "Fred" - XX Error "Fred" - -and again: - - >>> tstools.test_printing() - YY Message - YY Error - XX Message "Fred" - XX Error "Fred" - -and even: - - >>> tstools.test_c_printing() - YY C Message - YY C Error - XX C Message Fred - XX C Error Fred - Elementary streams -- basic functionality ----------------------------------------- In this context, we take an elementary stream to be MPEG-1, MPEG-2 or H.264