Skip to content

Commit

Permalink
Merge pull request #736 from kbenzie/benie/cts-fix-platform-get-nativ…
Browse files Browse the repository at this point in the history
…e-handle-test

[ur] Fix urPlatformGetNativeHandle test
  • Loading branch information
kbenzie committed Jul 20, 2023
2 parents 9fc7398 + 2ed0d34 commit c12d602
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/conformance/platform/urPlatformGetNativeHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ using urPlatformGetNativeHandleTest = uur::platform::urPlatformsTest;
TEST_F(urPlatformGetNativeHandleTest, Success) {
for (auto platform : platforms) {
ur_native_handle_t native_handle = nullptr;
ASSERT_SUCCESS(urPlatformGetNativeHandle(platform, &native_handle));
if (auto error = urPlatformGetNativeHandle(platform, &native_handle)) {
ASSERT_EQ(UR_RESULT_ERROR_UNSUPPORTED_FEATURE, error);
}
}
}

Expand Down

0 comments on commit c12d602

Please sign in to comment.