From c54f0b3e37285435840c62b4eb8adb064610bb78 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Fri, 8 Nov 2024 10:59:21 +0000 Subject: [PATCH] Update generate path to instrument_record_status.h Signed-off-by: David Horstmann --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 639f689cc9..5395bd0420 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -170,7 +170,7 @@ ifdef RECORD_PSA_STATUS_COVERAGE_LOG # Explicitly depend on this header because on a clean copy of the source tree, # it doesn't exist yet and must be generated as part of the build, and # therefore the wildcard enumeration above doesn't include it. -TEST_OBJS_DEPS += include/test/instrument_record_status.h +TEST_OBJS_DEPS += ../framework/tests/include/test/instrument_record_status.h endif TEST_OBJS_DEPS += src/test_certs.h ../framework/tests/src/test_keys.h @@ -303,7 +303,7 @@ libtestdriver1.a: cp ./libtestdriver1/library/libmbedcrypto.a ../library/libtestdriver1.a ifdef RECORD_PSA_STATUS_COVERAGE_LOG -include/test/instrument_record_status.h: ../include/psa/crypto.h Makefile +../framework/tests/include/test/instrument_record_status.h: ../include/psa/crypto.h Makefile echo " Gen $@" sed <../include/psa/crypto.h >$@ -n 's/^psa_status_t \([A-Za-z0-9_]*\)(.*/#define \1(...) RECORD_STATUS("\1", \1(__VA_ARGS__))/p' endif