summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHsin-Te Yuan <yuanhsinte@google.com>2022-07-11 15:55:11 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-15 07:11:40 +0000
commit1d25a753a35245af0f98897c4e999ec428b97134 (patch)
tree6fa36a8961003de706565936d6c06da99fee23d0 /Makefile
parent9b04e0e9a0bdada307097e89610b4ce1ab9351f8 (diff)
downloadvboot-1d25a753a35245af0f98897c4e999ec428b97134.tar.gz
tests/common/tests.h: rename test_common.h to common/tests.h
Create tests/common/ to put some common files. BUG=none BRANCH=none TEST=make runtests Signed-off-by: Hsin-Te Yuan <yuanhsinte@google.com> Change-Id: I8918b7a1e62d47fca6074ef123e2de6f46f1aa00 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3754814 Reviewed-by: Hsuan Ting Chen <roccochen@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a3566d46..e1569516 100644
--- a/Makefile
+++ b/Makefile
@@ -698,10 +698,10 @@ ALL_OBJS += ${FUTIL_OBJS}
# Library of handy test functions.
TESTLIB = ${BUILD}/tests/test.a
-TESTLIB_SRCS += \
- tests/test_common.c \
- tests/timer_utils.c \
- tests/crc32_test.c
+TEST_COMMON_DIR = tests/common
+
+TESTLIB_SRCS += $(wildcard $(TEST_COMMON_DIR)/*.c)
+TESTLIB_SRCS += tests/crc32_test.c
TESTLIB_OBJS = ${TESTLIB_SRCS:%.c=${BUILD}/%.o}
TEST_OBJS += ${TESTLIB_OBJS}