llvm-project/openmp/runtime/test
Joel E. Denny ba942610f6 [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
2020-04-21 17:10:50 -04:00
..
affinity Remove REQUIRES OMP spec version within lit tests 2019-07-17 15:41:00 +00:00
api [openmp] OpenMP 5.1 omp_display_env function implementation. 2020-03-04 18:15:05 +03:00
atomic
barrier
critical
env Fix OMP_TARGET_OFFLOAD parsing 2019-05-30 18:35:07 +00:00
flush Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39970 2018-12-13 10:04:10 +00:00
lock [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
master
misc_bugs Added propagation of not big initial stack size of master thread to workers. 2019-06-05 16:14:47 +00:00
ompt [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
parallel [OpenMP 5.0] Add omp_get_supported_active_levels() 2019-02-19 18:51:11 +00:00
tasking [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
threadprivate [OpenMP] NFC: Fix trivial typos in comments 2020-01-07 14:05:03 +08:00
worksharing [OpenMP] NFC: Fix trivial typo 2020-04-04 12:06:54 +09:00
CMakeLists.txt [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite 2020-02-06 15:33:18 -08:00
lit.cfg [OpenMP] Add scaffolding for negative runtime tests 2020-04-21 17:10:50 -04:00
lit.site.cfg.in [OpenMP] Add scaffolding for negative runtime tests 2020-04-21 17:10:50 -04:00
omp_my_sleep.h
omp_testsuite.h