Test: Skip T_COSE and QCBOR test if initial attestation is disabled
If initial attestation service is disabled, set ENABLE_QCBOR_TESTS
and ENABLE_T_COSE_TESTS to false, to skip T_COSE and QCBOR library
tests.
Change-Id: I16622a22ff55cf928be5d9204d06861732896055
Signed-off-by: David Hu <david.hu@arm.com>
diff --git a/test/TestConfig.cmake b/test/TestConfig.cmake
index 103b0f9..5dfbda8 100644
--- a/test/TestConfig.cmake
+++ b/test/TestConfig.cmake
@@ -29,6 +29,8 @@
if (NOT TFM_PARTITION_INITIAL_ATTESTATION)
set(ENABLE_ATTESTATION_SERVICE_TESTS FALSE)
+ set(ENABLE_QCBOR_TESTS FALSE)
+ set(ENABLE_T_COSE_TESTS FALSE)
endif()
if (NOT TFM_PARTITION_PLATFORM)