mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-18 03:19:31 +02:00
c26730ed8f
They test libavfilter internal API, so they should be libavfilter test programs (which implies: linked statically to libavfilter to access internal APIs and linked normally (statically or dynamically depending upon the build configuration) against all the other libs). Right now, they are always linked statically against all libs, which is a significant size waste compared to shared libs as all of libavcodec has been pulled in despite not being really used. This also leads to linking failures on systems for which av_export_avutil is intended: libavcodec does not expect to be linked statically against the library providing avpriv_(cga|vga16)_font in this case. This is fixed by this commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
46 lines
1.8 KiB
Makefile
46 lines
1.8 KiB
Makefile
DNNTESTSDIR := libavfilter/tests
|
|
|
|
FATE_DNN += fate-dnn-layer-pad
|
|
fate-dnn-layer-pad: $(DNNTESTSDIR)/dnn-layer-pad$(EXESUF)
|
|
fate-dnn-layer-pad: CMD = run $(DNNTESTSDIR)/dnn-layer-pad$(EXESUF)
|
|
fate-dnn-layer-pad: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-conv2d
|
|
fate-dnn-layer-conv2d: $(DNNTESTSDIR)/dnn-layer-conv2d$(EXESUF)
|
|
fate-dnn-layer-conv2d: CMD = run $(DNNTESTSDIR)/dnn-layer-conv2d$(EXESUF)
|
|
fate-dnn-layer-conv2d: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-dense
|
|
fate-dnn-layer-dense: $(DNNTESTSDIR)/dnn-layer-dense$(EXESUF)
|
|
fate-dnn-layer-dense: CMD = run $(DNNTESTSDIR)/dnn-layer-dense$(EXESUF)
|
|
fate-dnn-layer-dense: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-depth2space
|
|
fate-dnn-layer-depth2space: $(DNNTESTSDIR)/dnn-layer-depth2space$(EXESUF)
|
|
fate-dnn-layer-depth2space: CMD = run $(DNNTESTSDIR)/dnn-layer-depth2space$(EXESUF)
|
|
fate-dnn-layer-depth2space: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-mathbinary
|
|
fate-dnn-layer-mathbinary: $(DNNTESTSDIR)/dnn-layer-mathbinary$(EXESUF)
|
|
fate-dnn-layer-mathbinary: CMD = run $(DNNTESTSDIR)/dnn-layer-mathbinary$(EXESUF)
|
|
fate-dnn-layer-mathbinary: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-maximum
|
|
fate-dnn-layer-maximum: $(DNNTESTSDIR)/dnn-layer-maximum$(EXESUF)
|
|
fate-dnn-layer-maximum: CMD = run $(DNNTESTSDIR)/dnn-layer-maximum$(EXESUF)
|
|
fate-dnn-layer-maximum: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-mathunary
|
|
fate-dnn-layer-mathunary: $(DNNTESTSDIR)/dnn-layer-mathunary$(EXESUF)
|
|
fate-dnn-layer-mathunary: CMD = run $(DNNTESTSDIR)/dnn-layer-mathunary$(EXESUF)
|
|
fate-dnn-layer-mathunary: CMP = null
|
|
|
|
FATE_DNN += fate-dnn-layer-avgpool
|
|
fate-dnn-layer-avgpool: $(DNNTESTSDIR)/dnn-layer-avgpool$(EXESUF)
|
|
fate-dnn-layer-avgpool: CMD = run $(DNNTESTSDIR)/dnn-layer-avgpool$(EXESUF)
|
|
fate-dnn-layer-avgpool: CMP = null
|
|
|
|
FATE-$(CONFIG_DNN) += $(FATE_DNN)
|
|
|
|
fate-dnn: $(FATE_DNN)
|