Skip to content

Commit 1824593

Browse files
committed
Fix return value for skipping read_2D test
1 parent b054575 commit 1824593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/bindless_images/read_2D.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int main() {
5050
q)) {
5151
// We cannot allocate the opaque `image_mem` below
5252
std::cout << "Memory allocation unsupported. Skipping test.\n";
53-
return 1;
53+
return 0;
5454
}
5555

5656
// Extension: allocate memory on device and create the handle
@@ -69,7 +69,7 @@ int main() {
6969
// We cannot create the unsampled handles below
7070
std::cout << "Unsampled image handle creation unsupported. Skipping "
7171
"test.\n";
72-
return 1;
72+
return 0;
7373
}
7474

7575
// Extension: create the image and return the handle

0 commit comments

Comments
 (0)