From 2d225689d36128e7c7fa1351e5c725ba4830f6b2 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Tue, 22 May 2012 11:56:31 -0700 Subject: [PATCH] Move all tests to test/ directory Consolodate the unit tests under vp8/ to the test/ directory Change-Id: I6d6a0fb60f5e3874a4d6710e9e121dd3e81a93db --- {vp8/encoder => test}/boolcoder_test.cc | 0 {vp8/common => test}/idctllm_test.cc | 0 test/test.mk | 2 ++ vp8/vp8_common.mk | 1 - vp8/vp8cx.mk | 2 -- 5 files changed, 2 insertions(+), 3 deletions(-) rename {vp8/encoder => test}/boolcoder_test.cc (100%) rename {vp8/common => test}/idctllm_test.cc (100%) diff --git a/vp8/encoder/boolcoder_test.cc b/test/boolcoder_test.cc similarity index 100% rename from vp8/encoder/boolcoder_test.cc rename to test/boolcoder_test.cc diff --git a/vp8/common/idctllm_test.cc b/test/idctllm_test.cc similarity index 100% rename from vp8/common/idctllm_test.cc rename to test/idctllm_test.cc diff --git a/test/test.mk b/test/test.mk index e486795e3..51382ee96 100644 --- a/test/test.mk +++ b/test/test.mk @@ -1,2 +1,4 @@ LIBVPX_TEST_SRCS-yes += test.mk +LIBVPX_TEST_SRCS-yes += boolcoder_test.cc +LIBVPX_TEST_SRCS-yes += idctllm_test.cc LIBVPX_TEST_SRCS-yes += test_libvpx.cc diff --git a/vp8/vp8_common.mk b/vp8/vp8_common.mk index 0afd85f7d..1fbe5d43b 100644 --- a/vp8/vp8_common.mk +++ b/vp8/vp8_common.mk @@ -30,7 +30,6 @@ VP8_COMMON_SRCS-yes += common/findnearmv.c VP8_COMMON_SRCS-yes += common/generic/systemdependent.c VP8_COMMON_SRCS-yes += common/idct_blk.c VP8_COMMON_SRCS-yes += common/idctllm.c -LIBVPX_TEST_SRCS-yes += ../vp8/common/idctllm_test.cc VP8_COMMON_SRCS-yes += common/alloccommon.h VP8_COMMON_SRCS-yes += common/blockd.h VP8_COMMON_SRCS-yes += common/common.h diff --git a/vp8/vp8cx.mk b/vp8/vp8cx.mk index 9f50fadfc..019edbd00 100644 --- a/vp8/vp8cx.mk +++ b/vp8/vp8cx.mk @@ -88,8 +88,6 @@ VP8_CX_SRCS-yes += encoder/temporal_filter.c VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.c VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.h -LIBVPX_TEST_SRCS-yes += ../vp8/encoder/boolcoder_test.cc - ifeq ($(CONFIG_REALTIME_ONLY),yes) VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c VP8_CX_SRCS_REMOVE-yes += encoder/temporal_filter.c