annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34241
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
1 include ../config.mak
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
2
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
3 BROKEN_SAMPLES= \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
4 h264-conformance/CABA3_TOSHIBA_E.264 \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
5 h264-conformance/CAPA1_TOSHIBA_B.264 \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
6 h264-conformance/CI1_FT_B.264 \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
7 h264-conformance/FM1_FT_E.264 \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
8 lmlm4/LMLM4_CIFat30fps.divx \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
9 pva/PVA_test-partial.pva \
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
10
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
11 ALLSAMPLES_FULLPATH=$(wildcard $(FATE_SAMPLES)/*/*.*)
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
12 ALLSAMPLES=$(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH))
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
13 SAMPLES=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES))
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
14 REFS=$(patsubst %,ref/%.md5,$(SAMPLES))
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
15 RESULTS=$(patsubst %,res/%.md5,$(SAMPLES))
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
16
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
17 fatetest: $(RESULTS)
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
18
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
19 res/%.md5: ../mplayer$(EXESUF) $(FATE_SAMPLES)/%
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
20 @./faterun.sh $*
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
21
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
22 clean:
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
23 rm -rf res
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
24
f6cce8c4ea66 Add beginnings of a test framework.
reimar
parents:
diff changeset
25 .PHONY: fatetest clean