[libc] Skip tests that depend on undefined targets
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 2 Dec 2022 19:30:35 +0000 (13:30 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 2 Dec 2022 22:39:45 +0000 (16:39 -0600)
commitc6481125925849b1d967ec8c129abfbfc46b8417
tree27362dd750f66aa65a4fd34279d6dce40bd387fe
parent8d23614a2926cbe972a97f9ffb59df723635ab80
[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
libc/cmake/modules/LLVMLibCTestRules.cmake