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
|
Author: Andreas Beckmann <anbe@debian.org>
Description: expect the spirv tests to fail on 32-bit architectures
--- a/examples/example1/CMakeLists.txt
+++ b/examples/example1/CMakeLists.txt
@@ -37,6 +37,9 @@ add_test(NAME "examples/example1_dot_pro
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)
--- 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()
|