[Openmp-commits] [PATCH] D40082: [CMake] Refactor testing infrastructure

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 15 08:13:50 PST 2017


Hahnfeld created this revision.
Herald added a subscriber: mgorny.

The code for the two OpenMP runtime libraries was very similar.
Move to common CMake file that is included and provides a simple
interface for adding testsuites. Also add a common check-openmp
target that runs all testsuites that have been registered.

Note that this renames all test options to the common OPENMP
namespace, for example OPENMP_TEST_C_COMPILER instead of
LIBOMP_TEST_COMPILER and so on.


https://reviews.llvm.org/D40082

Files:
  CMakeLists.txt
  cmake/OpenMPTesting.cmake
  libomptarget/test/CMakeLists.txt
  libomptarget/test/lit.cfg
  libomptarget/test/lit.site.cfg.in
  runtime/test/CMakeLists.txt
  runtime/test/lit.cfg
  runtime/test/lit.site.cfg.in
  runtime/test/ompt/loadtool/tool_available.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40082.123032.patch
Type: text/x-patch
Size: 23381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171115/c6bfae4f/attachment-0001.bin>


More information about the Openmp-commits mailing list