Skip to content

Commit 13ea9f3

Browse files
committed
CMake: Add support for compliance_attestation test
Greentea test for PSA compliance_attestation can now build with CMake.
1 parent 62f110c commit 13ea9f3

File tree

1 file changed

+22
-0
lines changed
  • platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/TESTS/compliance_attestation/test_a001

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2021 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
5+
6+
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../../ CACHE INTERNAL "")
7+
set(TEST_TARGET mbed-platform-psa-compliance-attestation-a001)
8+
9+
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
10+
11+
project(${TEST_TARGET})
12+
13+
mbed_greentea_add_test(
14+
TEST_NAME
15+
${TEST_TARGET}
16+
TEST_SOURCES
17+
main.c
18+
test_entry.c
19+
test_a001.c
20+
TEST_REQUIRED_LIBS
21+
mbed-psa-tal
22+
)

0 commit comments

Comments
 (0)