diff mbox series

[FFmpeg-devel] FATE/dnn: only run unit test when CONFIG_DNN enabled

Message ID 231094909c682f92baa89df3786621d3647df8fc.1602154809.git.pross@xvid.org
State Accepted
Commit 9553c0b46ad02b37c361e0ecd753cc2ce8e9f263
Headers show
Series [FFmpeg-devel] FATE/dnn: only run unit test when CONFIG_DNN enabled
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Peter Ross Oct. 8, 2020, 11 a.m. UTC
Signed-off-by: Peter Ross <pross@xvid.org>
---
 tests/fate/dnn.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guo, Yejun Oct. 9, 2020, 12:47 a.m. UTC | #1
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Peter
> Ross
> Sent: 2020年10月8日 19:01
> To: ffmpeg-devel@ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH] FATE/dnn: only run unit test when
> CONFIG_DNN enabled
> 
> Signed-off-by: Peter Ross <pross@xvid.org>
> ---
>  tests/fate/dnn.mak | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/fate/dnn.mak b/tests/fate/dnn.mak index
> 90a1bb3cac..c5e458708e 100644
> --- a/tests/fate/dnn.mak
> +++ b/tests/fate/dnn.mak
> @@ -33,6 +33,6 @@ fate-dnn-layer-avgpool:
> $(DNNTESTSDIR)/dnn-layer-avgpool-test$(EXESUF)
>  fate-dnn-layer-avgpool: CMD = run
> $(DNNTESTSDIR)/dnn-layer-avgpool-test$(EXESUF)
>  fate-dnn-layer-avgpool: CMP = null
> 
> -FATE-yes += $(FATE_DNN)
> +FATE-$(CONFIG_DNN) += $(FATE_DNN)
LGTM, will push soon, thanks.
diff mbox series

Patch

diff --git a/tests/fate/dnn.mak b/tests/fate/dnn.mak
index 90a1bb3cac..c5e458708e 100644
--- a/tests/fate/dnn.mak
+++ b/tests/fate/dnn.mak
@@ -33,6 +33,6 @@  fate-dnn-layer-avgpool: $(DNNTESTSDIR)/dnn-layer-avgpool-test$(EXESUF)
 fate-dnn-layer-avgpool: CMD = run $(DNNTESTSDIR)/dnn-layer-avgpool-test$(EXESUF)
 fate-dnn-layer-avgpool: CMP = null
 
-FATE-yes += $(FATE_DNN)
+FATE-$(CONFIG_DNN) += $(FATE_DNN)
 
 fate-dnn: $(FATE_DNN)