1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Author: Andreas Beckmann <anbe@debian.org>
Description: expect the spirv tests to fail on 32-bit architectures
Index: pocl/examples/example1/CMakeLists.txt
===================================================================
--- pocl.orig/examples/example1/CMakeLists.txt 2026-03-09 14:49:09.973070789 +0100
+++ pocl/examples/example1/CMakeLists.txt 2026-03-09 14:49:09.970444800 +0100
@@ -34,6 +34,9 @@
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)
Index: pocl/tests/spirv/CMakeLists.txt
===================================================================
--- pocl.orig/tests/spirv/CMakeLists.txt 2026-03-09 14:49:09.973070789 +0100
+++ pocl/tests/spirv/CMakeLists.txt 2026-03-09 14:49:09.970624395 +0100
@@ -51,4 +51,8 @@
set_property(TEST "spirv/printf" APPEND PROPERTY LABELS "cpu_fail")
endif()
+if(HOST_DEVICE_ADDRESS_BITS EQUAL 32)
+ set_tests_properties("spirv/printf" PROPERTIES WILL_FAIL 1)
+endif()
+
endif()
|