Skip to content

Commit 77e019c

Browse files
committed
[OpenMP] Add "not" to test dependencies.
The `not` program is used to test executions prefixed with `%libomptarget-run-fail-`. Currently `not` is not used for libomp tests, but might be used in the future and its dependency does not add any additional burden over the already established `FileCheck` dependency. Required to add libomptarget testing to the Phabricator pre-merge check (see google/llvm-premerge-checks#368) Reviewed By: jdenny, JonChesterfield Differential Revision: https://reviews.llvm.org/D115454
1 parent 4834996 commit 77e019c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/cmake/OpenMPTesting.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ function(add_openmp_testsuite target comment)
196196
${comment}
197197
${ARG_UNPARSED_ARGUMENTS}
198198
EXCLUDE_FROM_CHECK_ALL
199-
DEPENDS clang FileCheck ${ARG_DEPENDS}
199+
DEPENDS clang FileCheck not ${ARG_DEPENDS}
200200
ARGS ${ARG_ARGS}
201201
)
202202
else()
203203
add_lit_testsuite(${target}
204204
${comment}
205205
${ARG_UNPARSED_ARGUMENTS}
206-
DEPENDS clang FileCheck ${ARG_DEPENDS}
206+
DEPENDS clang FileCheck not ${ARG_DEPENDS}
207207
ARGS ${ARG_ARGS}
208208
)
209209
endif()

0 commit comments

Comments
 (0)