Commit 666d7d18 authored by Måns Rullgård's avatar Måns Rullgård

FATE: print friendly error for individual tests when SAMPLES unset

Originally committed as revision 23079 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 52486603
...@@ -339,14 +339,15 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) ...@@ -339,14 +339,15 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS) tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
ifdef SAMPLES
include $(SRC_PATH_BARE)/tests/fate.mak include $(SRC_PATH_BARE)/tests/fate.mak
ifdef SAMPLES
fate: $(FATE_TESTS) fate: $(FATE_TESTS)
$(FATE_TESTS): ffmpeg$(EXESUF) $(FATE_TESTS): ffmpeg$(EXESUF)
@echo "TEST FATE $(@:fate-%=%)" @echo "TEST FATE $(@:fate-%=%)"
@$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' @$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)'
else else
fate: fate $(FATE_TESTS):
@echo "SAMPLES not specified, cannot run FATE" @echo "SAMPLES not specified, cannot run FATE"
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment