aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-05-10 09:32:59 +0000
committerMåns Rullgård <mans@mansr.com>2010-05-10 09:32:59 +0000
commit666d7d18e1650d0467ad86d5e9bbc0dbef81c8fa (patch)
tree3c42c84fd6034625b8d84ade4cfd1dfe755ebbbc /Makefile
parent52486603b5b8e2827627afbc8a2028fb74554920 (diff)
downloadffmpeg-666d7d18e1650d0467ad86d5e9bbc0dbef81c8fa.tar.gz
FATE: print friendly error for individual tests when SAMPLES unset
Originally committed as revision 23079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 18ab3a6d00..500c5b1d86 100644
--- a/Makefile
+++ b/Makefile
@@ -339,14 +339,15 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
-ifdef SAMPLES
include $(SRC_PATH_BARE)/tests/fate.mak
+
+ifdef SAMPLES
fate: $(FATE_TESTS)
$(FATE_TESTS): ffmpeg$(EXESUF)
@echo "TEST FATE $(@:fate-%=%)"
@$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)'
else
-fate:
+fate $(FATE_TESTS):
@echo "SAMPLES not specified, cannot run FATE"
endif