summaryrefslogtreecommitdiff
path: root/openmp/README.rst
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2020-04-21 16:27:32 -0400
committerJoel E. Denny <jdenny.ornl@gmail.com>2020-04-21 17:10:50 -0400
commitba942610f6be63fe11b61e637ca5db2c4ef9ba8a (patch)
tree4ddb7185a2e903a6fbc1413eb31ce93d71e817a8 /openmp/README.rst
parent060efd24c7f06a6c66afc15fc5c499eb0d591523 (diff)
downloadllvm-ba942610f6be63fe11b61e637ca5db2c4ef9ba8a.tar.gz
[OpenMP] Add scaffolding for negative runtime tests
Without this patch, the openmp project's test suites do not appear to have support for negative tests. However, D78170 needs to add a test that an expected runtime failure occurs. This patch makes `not` visible in all of the openmp project's test suites. In all but `libomptarget/test`, it should be possible for a test author to insert `not` before a use of the lit substitution for running a test program. In `libomptarget/test`, that substitution is target-specific, and its value is `echo` when the target is not available. In that case, inserting `not` before a lit substitution would expect an `echo` fail, so this patch instead defines a separate lit substitution for expected runtime fails. Reviewed By: jdoerfert, Hahnfeld Differential Revision: https://reviews.llvm.org/D78566
Diffstat (limited to 'openmp/README.rst')
-rw-r--r--openmp/README.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/openmp/README.rst b/openmp/README.rst
index 55342e4dbac5..aac0f7fc10d3 100644
--- a/openmp/README.rst
+++ b/openmp/README.rst
@@ -130,6 +130,10 @@ Options for all Libraries
Specify full path to ``FileCheck`` executable for running tests. The default
is to search the ``PATH`` and the directory in **OPENMP_LLVM_TOOLS_DIR**.
+**OPENMP_NOT_EXECUTABLE** = ``/path/to/not``
+ Specify full path to ``not`` executable for running tests. The default
+ is to search the ``PATH`` and the directory in **OPENMP_LLVM_TOOLS_DIR**.
+
Options for ``libomp``
----------------------