diff --git a/openmp/libomptarget/test/CMakeLists.txt b/openmp/libomptarget/test/CMakeLists.txt --- a/openmp/libomptarget/test/CMakeLists.txt +++ b/openmp/libomptarget/test/CMakeLists.txt @@ -15,7 +15,11 @@ string(REGEX MATCHALL "([^\ ]+\ |[^\ ]+$)" SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}") foreach(CURRENT_TARGET IN LISTS SYSTEM_TARGETS) string(STRIP "${CURRENT_TARGET}" CURRENT_TARGET) - add_openmp_testsuite(check-libomptarget-${CURRENT_TARGET} "Running libomptarget tests" ${CMAKE_CURRENT_BINARY_DIR}/${CURRENT_TARGET} DEPENDS omptarget omp ${LIBOMPTARGET_TESTED_PLUGINS}) + add_openmp_testsuite(check-libomptarget-${CURRENT_TARGET} + "Running libomptarget tests" + ${CMAKE_CURRENT_BINARY_DIR}/${CURRENT_TARGET} + DEPENDS omptarget omp ${LIBOMPTARGET_TESTED_PLUGINS} + ARGS ${LIBOMPTARGET_LIT_ARGS}) list(APPEND LIBOMPTARGET_LIT_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/${CURRENT_TARGET}) # Configure the lit.site.cfg.in file @@ -24,4 +28,9 @@ configure_file(lit.site.cfg.in ${CURRENT_TARGET}/lit.site.cfg @ONLY) endforeach() -add_openmp_testsuite(check-libomptarget "Running libomptarget tests" ${LIBOMPTARGET_LIT_TESTSUITES} EXCLUDE_FROM_CHECK_ALL DEPENDS omptarget omp ${LIBOMPTARGET_TESTED_PLUGINS}) \ No newline at end of file +add_openmp_testsuite(check-libomptarget + "Running libomptarget tests" + ${LIBOMPTARGET_LIT_TESTSUITES} + EXCLUDE_FROM_CHECK_ALL + DEPENDS omptarget omp ${LIBOMPTARGET_TESTED_PLUGINS} + ARGS ${LIBOMPTARGET_LIT_ARGS})