summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Imschweiler <robert.imschweiler@amd.com>2025-11-18 14:09:49 -0600
committerRobert Imschweiler <robert.imschweiler@amd.com>2025-11-18 14:09:49 -0600
commit69be8f614bd97bbdaefeca8f5e0438762286d42a (patch)
treecbb0bc7725a6c0e6fc86f6bd4ef7ff7ec0910623
parentdcfacafcda2d670a870ae452be7a6c4d20cfbf9b (diff)
rename add_openmp_unittest argumentusers/ro-i/check-libomp-unit
-rw-r--r--openmp/runtime/unittests/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/openmp/runtime/unittests/CMakeLists.txt b/openmp/runtime/unittests/CMakeLists.txt
index e44fda78fb80..b161846708d7 100644
--- a/openmp/runtime/unittests/CMakeLists.txt
+++ b/openmp/runtime/unittests/CMakeLists.txt
@@ -11,14 +11,14 @@ if(NOT TARGET omp_testing)
return()
endif()
-function(add_openmp_unittest test_dirname)
- add_unittest(OpenMPUnitTests ${test_dirname} ${ARGN})
+function(add_openmp_unittest test_filename)
+ add_unittest(OpenMPUnitTests ${test_filename} ${ARGN})
# Link against the testing library which exports all symbols.
- target_link_libraries(${test_dirname} PRIVATE omp_testing)
- add_dependencies(${test_dirname} omp_testing)
+ target_link_libraries(${test_filename} PRIVATE omp_testing)
+ add_dependencies(${test_filename} omp_testing)
- target_include_directories(${test_dirname} PRIVATE
+ target_include_directories(${test_filename} PRIVATE
${LIBOMP_INCLUDE_DIR}
${LIBOMP_SRC_DIR}
)