diff Makefile @ 34241:f6cce8c4ea66

Add beginnings of a test framework. So far handles only video, and simply passes all FFmpeg FATE samples through -vo md5sum.
author reimar
date Tue, 08 Nov 2011 20:48:11 +0000
parents 91794b4aa5d0
children 1c35122fba8c
line wrap: on
line diff
--- a/Makefile	Tue Nov 08 20:24:35 2011 +0000
+++ b/Makefile	Tue Nov 08 20:48:11 2011 +0000
@@ -958,6 +958,7 @@
 
 clean:
 	-$(MAKE) -C ffmpeg $@
+	-$(MAKE) -C tests clean
 	-rm -f $(call ADD_ALL_DIRS,/*.o /*.a /*.ho /*~)
 	-rm -f $(call ADD_ALL_EXESUFS,mplayer mencoder)
 
@@ -1120,12 +1121,14 @@
 	-rm -f vidix/dhahelper/*.o vidix/dhahelper/*~ vidix/dhahelper/test
 	-rm -f $(addprefix vidix/dhahelperwin/,*.o *~ dhahelper.sys dhasetup.exe base.tmp temp.exp)
 
+fatetest: mplayer$(EXESUF)
+	$(MAKE) -C tests fatetest
 
 
 -include $(DEP_FILES) $(DRIVER_DEP_FILES) $(TESTS_DEP_FILES) $(TOOLS_DEP_FILES) $(DHAHELPER_DEP_FILES)
 
 .PHONY: all doxygen *install* *tools drivers dhahelper*
-.PHONY: checkheaders *clean tests check_checksums
+.PHONY: checkheaders *clean tests check_checksums fatetest
 .PHONY: doc html-chunked* html-single* xmllint*
 
 # Disable suffix rules.  Most of the builtin rules are suffix rules,