Mercurial > mplayer.hg
view tests/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 | |
children | aecd1f1bfeaf |
line wrap: on
line source
include ../config.mak BROKEN_SAMPLES= \ h264-conformance/CABA3_TOSHIBA_E.264 \ h264-conformance/CAPA1_TOSHIBA_B.264 \ h264-conformance/CI1_FT_B.264 \ h264-conformance/FM1_FT_E.264 \ lmlm4/LMLM4_CIFat30fps.divx \ pva/PVA_test-partial.pva \ ALLSAMPLES_FULLPATH=$(wildcard $(FATE_SAMPLES)/*/*.*) ALLSAMPLES=$(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH)) SAMPLES=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES)) REFS=$(patsubst %,ref/%.md5,$(SAMPLES)) RESULTS=$(patsubst %,res/%.md5,$(SAMPLES)) fatetest: $(RESULTS) res/%.md5: ../mplayer$(EXESUF) $(FATE_SAMPLES)/% @./faterun.sh $* clean: rm -rf res .PHONY: fatetest clean