mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-26 18:20:21 +00:00
cmake: tf-psa-crypto: Add seedfile for testing
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
d98477d5a6
commit
fd71abe8dc
@ -428,6 +428,12 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS)
|
|||||||
DEPENDS ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include/test/test_keys.h)
|
DEPENDS ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include/test/test_keys.h)
|
||||||
add_dependencies(tf_psa_crypto_test tf_psa_crypto_test_keys_header)
|
add_dependencies(tf_psa_crypto_test tf_psa_crypto_test_keys_header)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
file(WRITE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/tests/seedfile
|
||||||
|
"This is a seedfile that contains 64 bytes ......................"
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(tf_psa_crypto_test
|
target_include_directories(tf_psa_crypto_test
|
||||||
PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include
|
PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include
|
||||||
PRIVATE tests/include
|
PRIVATE tests/include
|
||||||
|
Loading…
Reference in New Issue
Block a user