Skip to content

Commit d9ad663

Browse files
Update common.mk with test helper object paths
Signed-off-by: David Horstmann <[email protected]>
1 parent bc06e2a commit d9ad663

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/common.make

+4-3
Original file line numberDiff line numberDiff line change
@@ -151,18 +151,19 @@ endif
151151

152152
# Auxiliary modules used by tests and some sample programs
153153
MBEDTLS_CORE_TEST_OBJS := $(patsubst %.c,%.o,$(wildcard \
154-
${MBEDTLS_TEST_PATH}/src/*.c \
155-
${MBEDTLS_TEST_PATH}/src/drivers/*.c \
154+
${MBEDTLS_PATH}/framework/tests/src/*.c \
155+
${MBEDTLS_PATH}/framework/tests/src/drivers/*.c \
156156
))
157157
# Ignore PSA stubs when building for the client side of PSASIM (i.e.
158158
# CRYPTO_CLIENT && !CRYPTO_C) otherwise there will be functions duplicates.
159159
ifdef PSASIM
160160
MBEDTLS_CORE_TEST_OBJS := $(filter-out \
161-
${MBEDTLS_TEST_PATH}/src/psa_crypto_stubs.o, $(MBEDTLS_CORE_TEST_OBJS)\
161+
${MBEDTLS_PATH}/framework/tests/src/psa_crypto_stubs.o, $(MBEDTLS_CORE_TEST_OBJS)\
162162
)
163163
endif
164164
# Additional auxiliary modules for TLS testing
165165
MBEDTLS_TLS_TEST_OBJS = $(patsubst %.c,%.o,$(wildcard \
166+
${MBEDTLS_TEST_PATH}/src/*.c \
166167
${MBEDTLS_TEST_PATH}/src/test_helpers/*.c \
167168
))
168169

0 commit comments

Comments
 (0)