changeset 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 07aabc1bb1fd
files tests/Makefile
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/Makefile	Tue Nov 08 20:59:38 2011 +0000
+++ b/tests/Makefile	Tue Nov 08 21:12:37 2011 +0000
@@ -8,9 +8,17 @@
     lmlm4/LMLM4_CIFat30fps.divx \
     pva/PVA_test-partial.pva \
 
+AUDIO_ONLY_SAMPLES = \
+    aac/% ac3/% amrnb/% amrwb/% atrac1/% atrac3/% bink/binkaudio% \
+    creative/% dts/% duck/%-audio-only.avi eac3/% gsm/% imc/% \
+    lossless-audio/% mp3-conformance/% musepack/% nellymoser/% \
+    qt-surge-suite/% real/ra% sipr/% truespeech/% vorbis/% \
+    vqf/% w64/% wmapro/% wmavoice/% \
+
 ALLSAMPLES_FULLPATH=$(wildcard $(FATE_SAMPLES)/*/*.*)
 ALLSAMPLES=$(patsubst $(FATE_SAMPLES)/%,%,$(ALLSAMPLES_FULLPATH))
-SAMPLES=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES))
+SAMPLES:=$(filter-out $(BROKEN_SAMPLES),$(ALLSAMPLES))
+SAMPLES:=$(filter-out $(AUDIO_ONLY_SAMPLES),$(SAMPLES))
 RESULTS=$(patsubst %,res/%.md5,$(SAMPLES))
 
 fatetest: $(RESULTS)