1#
2# Arm SCP/MCP Software
3# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set(TEST_SRC mod_thermal_mgmt)
9set(TEST_FILE mod_thermal_mgmt)
10
11set(UNIT_TEST_TARGET mod_${TEST_MODULE}_unit_test)
12
13set(MODULE_SRC ${MODULE_ROOT}/${TEST_MODULE}/src)
14set(MODULE_INC ${MODULE_ROOT}/${TEST_MODULE}/include)
15list(APPEND OTHER_MODULE_INC ${MODULE_ROOT}/scmi_perf/include)
16list(APPEND OTHER_MODULE_INC ${MODULE_ROOT}/sensor/include)
17set(MODULE_UT_SRC ${CMAKE_CURRENT_LIST_DIR})
18set(MODULE_UT_INC ${CMAKE_CURRENT_LIST_DIR})
19set(MODULE_UT_MOCK_SRC ${CMAKE_CURRENT_LIST_DIR}/mocks)
20
21list(APPEND MOCK_REPLACEMENTS fwk_module)
22list(APPEND MOCK_REPLACEMENTS fwk_mm)
23list(APPEND MOCK_REPLACEMENTS fwk_id)
24list(APPEND MOCK_REPLACEMENTS fwk_core)
25
26include(${SCP_ROOT}/unit_test/module_common.cmake)
27