llvm-project/openmp/runtime/test
Michal Gorny cd2bfb1e7c Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path
Fix lit search to correctly respect LIBOMP_LLVM_LIT_EXECUTABLE as full
program path.

The variable passed to find_program() is created by CMake as a cache
variable, and therefore can be directly overriden by the user. Since
this was the design of LIBOMP_LLVM_LIT_EXECUTABLE (as can be deduced
from the error messages) and there is no other use of LIT_EXECUTABLE,
remove the redundant variable and pass LIBOMP_LLVM_LIT_EXECUTABLE
directly to find_program().

Furthermore, the previous code did not work since the HINTS argument
specifies more search directories rather than expected full path.
Quoting the CMake documentation:

> 3. Search the paths specified by the HINTS option. These should be
> paths computed by system introspection, such as a hint provided by
> the location of another item already found. Hard-coded guesses should
> be specified with the PATHS option.

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

llvm-svn: 281887
2016-09-19 06:55:56 +00:00
..
api Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
atomic Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
barrier omp_barrier.c test fixed in order to reliably and faster run on any number of processors 2016-01-25 16:52:10 +00:00
critical
env Offer API for setting number of loop dispatch buffers 2016-05-31 19:01:15 +00:00
flush
lock Fix bugs in TAS and futex lock 2016-06-28 19:37:24 +00:00
master Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
misc_bugs Appease older gcc compilers for the many-microtask-args.c test 2016-08-30 19:28:58 +00:00
ompt [OMPT] fix task frame information for gomp interface 2016-09-14 13:59:39 +00:00
parallel Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
tasking kmp_gsupport: Fix library initialization with taskgroup 2016-08-08 13:23:08 +00:00
threadprivate Remove trailing whitespace from tests 2016-05-17 21:08:52 +00:00
worksharing Fix the nowait tests for omp for and omp single 2016-07-06 17:26:12 +00:00
CMakeLists.txt Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
lit.cfg Revert accidental commit to lit.cfg 2016-06-09 18:29:36 +00:00
lit.site.cfg.in Allow unit testing on Windows 2016-05-23 17:50:32 +00:00
omp_my_sleep.h
omp_testsuite.h Allow unit testing on Windows 2016-05-23 17:50:32 +00:00