From: Michal Babej Date: Wed, 1 Dec 2021 13:16:26 +0000 (+0200) Subject: [PATCH 52/90] vulkan: label tests that work with vulkan driver X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~77 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e13660c1dfb194be37a4625124eda79081a26219;p=pocl.git [PATCH 52/90] vulkan: label tests that work with vulkan driver Gbp-Pq: Name 0052-vulkan-label-tests-that-work-with-vulkan-driver.patch --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9612b24..ae3f9f2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -37,7 +37,7 @@ if(ENABLE_HOST_CPU_DEVICES) endif() ####################################################################### -if (UNIX) +if (UNIX AND ENABLE_LOADABLE_DRIVERS) add_test(NAME pocl_test_dlopen_libpocl COMMAND test_dlopen) set_property(TEST "pocl_version_check" APPEND PROPERTY DEPENDS "pocl_test_dlopen_libpocl") @@ -72,6 +72,12 @@ if(ENABLE_CUDA) set_property(TEST "pocl_version_check" APPEND PROPERTY DEPENDS "pocl_test_dlopen_device_cuda") endif() +if(ENABLE_VULKAN) + add_test(NAME pocl_test_dlopen_device_vulkan COMMAND test_dlopen vulkan) + set_property(TEST "pocl_version_check" APPEND PROPERTY DEPENDS "pocl_test_dlopen_device_vulkan") + set_property(TEST "pocl_version_check" "pocl_test_dlopen_libpocl" "pocl_test_dlopen_device_vulkan" APPEND PROPERTY LABELS "vulkan") +endif() + endif () #######################################################################