[llvm] [Offload] Skip most liboffload tests if no devices (PR #157417)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 8 05:53:54 PDT 2025
================
@@ -129,6 +129,9 @@ const std::vector<TestEnvironment::Device> &TestEnvironment::getDevices() {
}
}
+ if (Devices.size() <= 1)
----------------
RossBrunton wrote:
Ah, thanks. I completely missed that the host device was being excluded. It's now `== 0`, which seems to work.
https://github.com/llvm/llvm-project/pull/157417
More information about the llvm-commits
mailing list