Mercurial > mplayer.hg
annotate tests/Makefile @ 34243:61a7a648b002
Avoid running video-only test on audio-only files.
Saves on run-time and also makes it easier to spot video files
that fail to decode (result in 0-size output files).
author | reimar |
---|---|
date | Tue, 08 Nov 2011 21:12:37 +0000 |
parents | aecd1f1bfeaf |
children | 0d7b77bd5744 |
rev | line source |
---|---|
34241 | 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 | |
34243
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
11 AUDIO_ONLY_SAMPLES = \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
12 aac/% ac3/% amrnb/% amrwb/% atrac1/% atrac3/% bink/binkaudio% \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
13 creative/% dts/% duck/%-audio-only.avi eac3/% gsm/% imc/% \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
14 lossless-audio/% mp3-conformance/% musepack/% nellymoser/% \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
15 qt-surge-suite/% real/ra% sipr/% truespeech/% vorbis/% \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
16 vqf/% w64/% wmapro/% wmavoice/% \ |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
17 |
34241 | 18 ALLSAMPLES_FULLPATH=$(wildcard $(FATE_SAMPLES)/*/*.*) |
19 ALLSAMPLES=$(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH)) | |
34243
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
20 SAMPLES:=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES)) |
61a7a648b002
Avoid running video-only test on audio-only files.
reimar
parents:
34242
diff
changeset
|
21 SAMPLES:=$(filter-out $(AUDIO_ONLY_SAMPLES),$(SAMPLES)) |
34241 | 22 RESULTS=$(patsubst %,res/%.md5,$(SAMPLES)) |
23 | |
24 fatetest: $(RESULTS) | |
25 | |
26 res/%.md5: ../mplayer$(EXESUF) $(FATE_SAMPLES)/% | |
27 @./faterun.sh $* | |
28 | |
29 clean: | |
30 rm -rf res | |
31 | |
32 .PHONY: fatetest clean |