From a2083218c76b0de70ba040608fcf4727f04eae82 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 16 Mar 2026 17:47:22 +0100 Subject: [PATCH] Keep exposing the library common.h in test/macros.h Partially revert "Give test code access to internal macros of the library". I think that it would be better not to require every user of `test/macros.h` to have access to the library source, but it's out of scope here. Signed-off-by: Gilles Peskine --- tests/include/test/macros.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/include/test/macros.h b/tests/include/test/macros.h index 8bde989f8..66c8a137a 100644 --- a/tests/include/test/macros.h +++ b/tests/include/test/macros.h @@ -22,6 +22,12 @@ #include "mbedtls/memory_buffer_alloc.h" #endif +#if defined(TF_PSA_CRYPTO_VERSION_NUMBER) +#include "tf_psa_crypto_common.h" +#else +#include "common.h" +#endif + /** * \brief This macro tests the expression passed to it as a test step or * individual test in a test case.