[llvm] [Offload] Ensure all `llvm::Error`s are handled (PR #137339)

Ross Brunton via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 25 07:29:30 PDT 2025


================
@@ -28,3 +28,11 @@ TEST_F(olGetKernelTest, InvalidNullKernelPointer) {
   ASSERT_ERROR(OL_ERRC_INVALID_NULL_POINTER,
                olGetKernel(Program, "foo", nullptr));
 }
+
+TEST_F(olGetKernelTest, InvalidKernelName) {
+  GTEST_SKIP()
+      << "Error code returning from plugin interface not yet supported";
----------------
RossBrunton wrote:

Is skipping the best way of doing this? This test fails, but it fails less badly than before this patch.

https://github.com/llvm/llvm-project/pull/137339


More information about the llvm-commits mailing list