append TESTS-yes to TESTS; one ifeq less
authorMåns Rullgård <mans@mansr.com>
Mon, 7 Apr 2008 22:17:44 +0000 (22:17 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 7 Apr 2008 22:17:44 +0000 (22:17 +0000)
Originally committed as revision 12763 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak
libavcodec/Makefile

index c405430..66297ef 100644 (file)
@@ -36,6 +36,7 @@ OBJS     += $(OBJS-yes)
 ASM_OBJS += $(ASM_OBJS-yes)
 CPP_OBJS += $(CPP_OBJS-yes)
 FFLIBS   := $(FFLIBS-yes) $(FFLIBS)
+TESTS    += $(TESTS-yes)
 
 FFEXTRALIBS := $(addprefix -l,$(addsuffix $(BUILDSUF),$(FFLIBS))) $(EXTRALIBS)
 FFLDFLAGS   := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
index 124fc8d..3652464 100644 (file)
@@ -465,9 +465,7 @@ ASM_OBJS-$(ARCH_BFIN)                  += bfin/pixels_bfin.o \
                                           bfin/vp3_idct_bfin.o   \
 
 TESTS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 imgresample rangecoder snow)
-ifeq ($(ARCH_X86),yes)
-TESTS += cpuid-test$(EXESUF) motion-test$(EXESUF)
-endif
+TESTS-$(ARCH_X86) += cpuid-test$(EXESUF) motion-test$(EXESUF)
 
 CLEANFILES = \
     alpha/*.o alpha/*~ \