aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dnn/Makefile
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2019-07-29 09:56:40 +0800
committerPedro Arthur <bygrandao@gmail.com>2019-07-29 12:34:19 -0300
commit3805aae47966b691f825abab6843f55676437a02 (patch)
treed1f578b2b1e0818b0ae9de048181fa78535df3ad /tests/dnn/Makefile
parentdf8db345523f03b2163febe97a4cf07446b28230 (diff)
downloadffmpeg-3805aae47966b691f825abab6843f55676437a02.tar.gz
fate: add unit test for dnn-layer-pad
'make fate-dnn-layer-pad' to run the test Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'tests/dnn/Makefile')
-rw-r--r--tests/dnn/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/dnn/Makefile b/tests/dnn/Makefile
new file mode 100644
index 0000000000..b2e668003f
--- /dev/null
+++ b/tests/dnn/Makefile
@@ -0,0 +1,11 @@
+DNNTESTPROGS += dnn-layer-pad
+
+DNNTESTOBJS := $(DNNTESTOBJS:%=$(DNNTESTSDIR)%) $(DNNTESTPROGS:%=$(DNNTESTSDIR)/%-test.o)
+DNNTESTPROGS := $(DNNTESTPROGS:%=$(DNNTESTSDIR)/%-test$(EXESUF))
+-include $(wildcard $(DNNTESTOBJS:.o=.d))
+
+$(DNNTESTPROGS): %$(EXESUF): %.o $(FF_DEP_LIBS)
+ $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_EXTRALIBS) $(ELIBS)
+
+testclean::
+ $(RM) $(addprefix $(DNNTESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))