From: Andreas Beckmann Date: Tue, 8 Apr 2025 05:32:27 +0000 (+0200) Subject: expect the spirv tests to fail on 32-bit architectures X-Git-Tag: archive/raspbian/6.0-6+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=88ac1e22a36b17c11435f408b64486bbca89a60e;p=pocl.git expect the spirv tests to fail on 32-bit architectures Gbp-Pq: Name spirv-tests.patch --- diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt index 7924cb2..feb13fe 100644 --- a/examples/example1/CMakeLists.txt +++ b/examples/example1/CMakeLists.txt @@ -37,6 +37,9 @@ add_test(NAME "examples/example1_dot_product" COMMAND "example1") if (ENABLE_SPIRV) add_test(NAME "examples/example1_spirv" COMMAND "example1" "v") list(APPEND SPIREX "examples/example1_spirv") + if(HOST_DEVICE_ADDRESS_BITS EQUAL 32) + set_tests_properties("examples/example1_spirv" PROPERTIES WILL_FAIL 1) + endif() endif() set(PROPS) diff --git a/tests/spirv/CMakeLists.txt b/tests/spirv/CMakeLists.txt index 4cf9717..e9f287e 100644 --- a/tests/spirv/CMakeLists.txt +++ b/tests/spirv/CMakeLists.txt @@ -43,4 +43,8 @@ set_tests_properties( "spirv/printf" LABELS "internal;spirv" DEPENDS "pocl_version_check") +if(HOST_DEVICE_ADDRESS_BITS EQUAL 32) + set_tests_properties("spirv/printf" PROPERTIES WILL_FAIL 1) +endif() + endif()