summaryrefslogtreecommitdiffstats
path: root/kernel/tests
diff options
context:
space:
mode:
authorManuel Bentele2020-09-14 16:56:05 +0200
committerManuel Bentele2020-09-16 07:37:56 +0200
commit99203f2d143b39b09a7b0f0547477c9f98ddb325 (patch)
treeccd41d505013da5ad913cadd089912a46fab6c90 /kernel/tests
parentRenamed xloop kernel module test targets (diff)
downloadxloop-99203f2d143b39b09a7b0f0547477c9f98ddb325.tar.gz
xloop-99203f2d143b39b09a7b0f0547477c9f98ddb325.tar.xz
xloop-99203f2d143b39b09a7b0f0547477c9f98ddb325.zip
Added partial CMake package component support
Diffstat (limited to 'kernel/tests')
-rw-r--r--kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt b/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
index 6c477f5..79bfa58 100644
--- a/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
+++ b/kernel/tests/testcases/kernel/syscalls/ioctl/CMakeLists.txt
@@ -5,27 +5,41 @@ project(xloop-kernel-test-ioctl_xloop)
# test ioctl_xloop01
add_executable(ioctl_xloop01 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop01.c)
target_link_libraries(ioctl_xloop01 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop01 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop02
add_executable(ioctl_xloop02 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop02.c)
target_link_libraries(ioctl_xloop02 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop02 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop03
add_executable(ioctl_xloop03 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop03.c)
target_link_libraries(ioctl_xloop03 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop03 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop04
add_executable(ioctl_xloop04 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop04.c)
target_link_libraries(ioctl_xloop04 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop04 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop05
add_executable(ioctl_xloop05 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop05.c)
target_link_libraries(ioctl_xloop05 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop05 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop06
add_executable(ioctl_xloop06 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop06.c)
target_link_libraries(ioctl_xloop06 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop06 DESTINATION bin
+ COMPONENT test)
# test ioctl_xloop07
add_executable(ioctl_xloop07 ${CMAKE_CURRENT_SOURCE_DIR}/ioctl_xloop07.c)
-target_link_libraries(ioctl_xloop07 LINK_PUBLIC libltp) \ No newline at end of file
+target_link_libraries(ioctl_xloop07 LINK_PUBLIC libltp)
+install(TARGETS ioctl_xloop07 DESTINATION bin
+ COMPONENT test)