[all-commits] [llvm/llvm-project] c64811: [libc] Skip tests that depend on undefined targets

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Dec 2 14:40:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6481125925849b1d967ec8c129abfbfc46b8417
      https://github.com/llvm/llvm-project/commit/c6481125925849b1d967ec8c129abfbfc46b8417
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  -----------
  [libc] Skip tests that depend on undefined targets

When we search through the dependencies for a test we somtimes query
`get_target_property` on a target that has not been defined. This is the
case for targets that have minimal entrypoints defined such as the WIP
GPU target. This patch changes all tests whose dependencies are
undefined to be skipped entirely.

Reviewed By: sivachandra, lntue, michaelrj

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




More information about the All-commits mailing list