[Openmp-commits] [openmp] 77e019c - [OpenMP] Add "not" to test dependencies.

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Sun Dec 12 08:54:48 PST 2021


Author: Michael Kruse
Date: 2021-12-12T10:52:53-06:00
New Revision: 77e019c23389b508d75d57653069868a2812e5c7

URL: https://github.com/llvm/llvm-project/commit/77e019c23389b508d75d57653069868a2812e5c7
DIFF: https://github.com/llvm/llvm-project/commit/77e019c23389b508d75d57653069868a2812e5c7.diff

LOG: [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 https://github.com/google/llvm-premerge-checks/issues/368)

Reviewed By: jdenny, JonChesterfield

Differential Revision: https://reviews.llvm.org/D115454

Added: 
    

Modified: 
    openmp/cmake/OpenMPTesting.cmake

Removed: 
    


################################################################################
diff  --git a/openmp/cmake/OpenMPTesting.cmake b/openmp/cmake/OpenMPTesting.cmake
index 6a6d1cb87b016..81732ce1815fa 100644
--- a/openmp/cmake/OpenMPTesting.cmake
+++ b/openmp/cmake/OpenMPTesting.cmake
@@ -196,14 +196,14 @@ function(add_openmp_testsuite target comment)
         ${comment}
         ${ARG_UNPARSED_ARGUMENTS}
         EXCLUDE_FROM_CHECK_ALL
-        DEPENDS clang FileCheck ${ARG_DEPENDS}
+        DEPENDS clang FileCheck not ${ARG_DEPENDS}
         ARGS ${ARG_ARGS}
       )
     else()
       add_lit_testsuite(${target}
         ${comment}
         ${ARG_UNPARSED_ARGUMENTS}
-        DEPENDS clang FileCheck ${ARG_DEPENDS}
+        DEPENDS clang FileCheck not ${ARG_DEPENDS}
         ARGS ${ARG_ARGS}
       )
     endif()


        


More information about the Openmp-commits mailing list