Skip to content

Commit 99f61f3

Browse files
authored
[Offload] Run unit tests as a part of check-offload (llvm#156675)
Summary: Add a dependnecy on the unit tests on the main check-offload test suite. This matches what the other projects do, pass `llvm-lit` to the directory to only run the lit tests, use the `check-offload-unit` for only the unit tests.
1 parent 329b215 commit 99f61f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

offload/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ add_offload_testsuite(check-offload
6161
"Running libomptarget tests"
6262
${LIBOMPTARGET_LIT_TESTSUITES}
6363
EXCLUDE_FROM_CHECK_ALL
64-
DEPENDS llvm-offload-device-info omptarget ${OMP_DEPEND} ${LIBOMPTARGET_TESTED_PLUGINS}
64+
DEPENDS llvm-offload-device-info omptarget ${OMP_DEPEND} ${LIBOMPTARGET_TESTED_PLUGINS} check-offload-unit
6565
ARGS ${LIBOMPTARGET_LIT_ARG_LIST})
6666

6767
# Add liboffload unit tests - the test binary will run on all available devices

0 commit comments

Comments
 (0)