[all-commits] [llvm/llvm-project] b84521: [OpenMP][libomptarget] Separate lit tests for diff...

Joachim via All-commits all-commits at lists.llvm.org
Tue Apr 27 03:30:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b845217b1dadc3e30c13720be1dfacd17ea3cbae
      https://github.com/llvm/llvm-project/commit/b845217b1dadc3e30c13720be1dfacd17ea3cbae
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M openmp/libomptarget/test/CMakeLists.txt
    M openmp/libomptarget/test/lit.cfg
    M openmp/libomptarget/test/lit.site.cfg.in

  Log Message:
  -----------
  [OpenMP][libomptarget] Separate lit tests for different offloading targets (1/2)

This patch creates a separate test directory for each offloading target to be
tested. This allows to test multiple architectures in one configuration, while
still see all failing tests separately. The lit test names include the target
triple, so that it will be easier to spot the failing target.

This patch also allows to mark expected failing tests based on the
target-triple, as the currently used triple is added to the lit "features":
```
// XFAIL: nvptx64-nvidia-cuda
```

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




More information about the All-commits mailing list