comparison 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
comparison
equal deleted inserted replaced
34240:43b60a64debf 34241:f6cce8c4ea66
1 include ../config.mak
2
3 BROKEN_SAMPLES= \
4 h264-conformance/CABA3_TOSHIBA_E.264 \
5 h264-conformance/CAPA1_TOSHIBA_B.264 \
6 h264-conformance/CI1_FT_B.264 \
7 h264-conformance/FM1_FT_E.264 \
8 lmlm4/LMLM4_CIFat30fps.divx \
9 pva/PVA_test-partial.pva \
10
11 ALLSAMPLES_FULLPATH=$(wildcard $(FATE_SAMPLES)/*/*.*)
12 ALLSAMPLES=$(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH))
13 SAMPLES=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES))
14 REFS=$(patsubst %,ref/%.md5,$(SAMPLES))
15 RESULTS=$(patsubst %,res/%.md5,$(SAMPLES))
16
17 fatetest: $(RESULTS)
18
19 res/%.md5: ../mplayer$(EXESUF) $(FATE_SAMPLES)/%
20 @./faterun.sh $*
21
22 clean:
23 rm -rf res
24
25 .PHONY: fatetest clean