ffmpeg/tests
Guo, Yejun d0fa1a58da FATE/dnn: let fate/dnn tests depend on ffmpeg static libraries
background:
DNN (deep neural network) is a sub module of libavfilter, and FATE/dnn
is unit test for the DNN module, one unit test for one dnn layer.
The unit tests are not based on the APIs exported by libavfilter,
they just directly call into the functions within DNN submodule.

There is an issue when run the following command:
build$ ../ffmpeg/configure --disable-static --enable-shared
make
make fate-dnn-layer-pad

And part of error message:
tests/dnn/dnn-layer-pad-test.o: In function `test_with_mode_symmetric':
/work/media/ffmpeg/build/src/tests/dnn/dnn-layer-pad-test.c:73: undefined reference to `dnn_execute_layer_pad'

The root cause is that function dnn_execute_layer_pad is a LOCAL symbol
in libavfilter.so, and so the linker could not find it when build dnn-layer-pad-test.
To check it, just run: readelf -s libavfilter/libavfilter.so | grep dnn

So, add dependency in fate/dnn Makefile with ffmpeg static libraries.
This is the same method used in fate/checkasm

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-08-19 11:37:16 -03:00
..
api
checkasm checkasm/vf_gblur: add test for horiz_slice simd 2019-06-12 08:54:05 +08:00
dnn FATE/dnn: let fate/dnn tests depend on ffmpeg static libraries 2019-08-19 11:37:16 -03:00
fate fate: add accurate_rnd+bitexact sws_flags for fate-gifenc 2019-08-17 17:33:16 +02:00
filtergraphs
ref fate: add accurate_rnd+bitexact sws_flags for fate-gifenc 2019-08-17 17:33:16 +02:00
.gitignore
audiogen.c
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh tests/fate-run: New variable hostexecsuf for local fate tools. 2019-04-24 01:42:56 +02:00
fate-valgrind.supp
fate.sh
Makefile fate: add unit test for dnn-layer-pad 2019-07-29 12:34:19 -03:00
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c