[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:47:11 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:

Oh, disabling the test causes it to print "YOU HAVE 1 DISABLED TEST", which is much nicer.

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


More information about the llvm-commits mailing list