From fd71abe8dcc0c0df136238cc5194033932654102 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Wed, 11 Dec 2024 21:34:28 +0100 Subject: [PATCH] cmake: tf-psa-crypto: Add seedfile for testing Signed-off-by: Ronald Cron --- tf-psa-crypto/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tf-psa-crypto/CMakeLists.txt b/tf-psa-crypto/CMakeLists.txt index fb27e2a9e8..43b9e1e6ac 100644 --- a/tf-psa-crypto/CMakeLists.txt +++ b/tf-psa-crypto/CMakeLists.txt @@ -428,6 +428,12 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS) DEPENDS ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include/test/test_keys.h) add_dependencies(tf_psa_crypto_test tf_psa_crypto_test_keys_header) endif() + + file(WRITE + ${CMAKE_CURRENT_BINARY_DIR}/tests/seedfile + "This is a seedfile that contains 64 bytes ......................" + ) + target_include_directories(tf_psa_crypto_test PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include PRIVATE tests/include