---
A cherry from the RFC patch for conditional compilation/running of test
programs. This should be fit for HEAD in its current form.

 libavcodec/Makefile |    2 +-
 tests/fate/dct.mak  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index b041c62..081d4ac 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -745,13 +745,13 @@ SKIPHEADERS-$(HAVE_W32THREADS)         += w32pthreads.h
 EXAMPLES = api
 
 TESTPROGS = cabac                                                       \
-            dct                                                         \
             fft                                                         \
             fft-fixed                                                   \
             golomb                                                      \
             iirfilter                                                   \
             rangecoder                                                  \
 
+TESTPROGS-$(CONFIG_AANDCT)                += dct
 TESTPROGS-$(HAVE_MMX) += motion
 TESTOBJS = dctref.o
 
diff --git a/tests/fate/dct.mak b/tests/fate/dct.mak
index d79cb91..3800e29 100644
--- a/tests/fate/dct.mak
+++ b/tests/fate/dct.mak
@@ -1,4 +1,4 @@
-FATE-yes += fate-idct8x8
+FATE-$(CONFIG_AANDCT) += fate-idct8x8
 fate-idct8x8: libavcodec/dct-test$(EXESUF)
 fate-idct8x8: CMD = run libavcodec/dct-test -i
 fate-idct8x8: REF = /dev/null
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to