From 4d7fe5bb76eb9b7ab06cba4572c49ef9b16234ea Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Thu, 15 Jul 2021 12:11:38 +0900 Subject: [PATCH] haltest: Remove common-haltests from hal-api-common-haltests.rpm The automatic haltests get the haltest binary by parsing the binary name with *haltests*' pattern. Actually, common-haltests doesn't need to be verified because it cannot verify any HAL backend library for hal.img. Change-Id: Ibe99e4c51a571931c50768f89e64c94481adc61c Signed-off-by: Chanwoo Choi --- packaging/hal-api-common.spec | 1 - tests/haltests/CMakeLists.txt | 2 -- 2 files changed, 3 deletions(-) diff --git a/packaging/hal-api-common.spec b/packaging/hal-api-common.spec index 4aeeb86..c45c497 100644 --- a/packaging/hal-api-common.spec +++ b/packaging/hal-api-common.spec @@ -114,7 +114,6 @@ systemd-tmpfiles /usr/lib/tmpfiles.d/hal-rpmdb-checker.conf --create %files -n %{test_name} %dir %{hal_rpmdb_checker_path} %attr(0755,system_fw,system_fw) %{hal_rpmdb_checker_path} -%{_bindir}/hal/common-haltests %{_unitdir}/haltest.target %{_bindir}/reboot-haltest %{_bindir}/reboot-normal diff --git a/tests/haltests/CMakeLists.txt b/tests/haltests/CMakeLists.txt index 0d4cbd4..f76d3e2 100644 --- a/tests/haltests/CMakeLists.txt +++ b/tests/haltests/CMakeLists.txt @@ -20,5 +20,3 @@ ENDFOREACH(flag) TARGET_LINK_LIBRARIES(${HAL_COMMON_HALTEST} ${common-haltests_pkgs_LDFLAGS} ${PROJECT_NAME}) SET_TARGET_PROPERTIES(${HAL_COMMON_HALTEST} PROPERTIES COMPILE_FLAGS "-fPIE -fvisibility=default") SET_TARGET_PROPERTIES(${HAL_COMMON_HALTEST} PROPERTIES LINK_FLAGS "-pie") - -INSTALL(TARGETS ${HAL_COMMON_HALTEST} DESTINATION ${EXEC_PREFIX}/hal/) -- 2.7.4