From 34ff05c5bbb559a43c7b4c8fc0860b56fe8a2359 Mon Sep 17 00:00:00 2001 From: Charis Poag Date: Wed, 18 Sep 2024 19:25:48 -0500 Subject: [PATCH] Fix python unittest not installing amd-smi-lib-test package install Moving to TESTS_COMPONENT allows files to be placed within the amd-smi-lib-test package. Previously, was put within the amd-smi-lib package, which will never be triggered for installation with latest changes. Change-Id: Id49dbe69bfc7d5bd1af403c28b946fe1edf64d8e Signed-off-by: Charis Poag [ROCm/amdsmi commit: ede0e6318d0287ade1acd8185ab3c2443f457689] --- projects/amdsmi/tests/python_unittest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/tests/python_unittest/CMakeLists.txt b/projects/amdsmi/tests/python_unittest/CMakeLists.txt index 94bf6b93f9..9dcedabcd8 100644 --- a/projects/amdsmi/tests/python_unittest/CMakeLists.txt +++ b/projects/amdsmi/tests/python_unittest/CMakeLists.txt @@ -19,7 +19,7 @@ message("--------CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY: " ${CPACK_COMPONENT install( DIRECTORY ./ DESTINATION ${SHARE_INSTALL_PREFIX}/tests/python_unittest/ - COMPONENT dev + COMPONENT ${TESTS_COMPONENT} USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN "*.py"