diff options
author | Hsin-Te Yuan <yuanhsinte@google.com> | 2022-07-11 15:55:11 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-15 07:11:40 +0000 |
commit | 1d25a753a35245af0f98897c4e999ec428b97134 (patch) | |
tree | 6fa36a8961003de706565936d6c06da99fee23d0 /Makefile | |
parent | 9b04e0e9a0bdada307097e89610b4ce1ab9351f8 (diff) | |
download | vboot-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-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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} |