[vulkan] Conditionalize vulkan tests

This commit is contained in:
Bill Currie 2021-05-24 16:26:12 +09:00
parent 85087177bf
commit c5f2aca07d
2 changed files with 5 additions and 1 deletions

View file

@ -20,3 +20,4 @@ AC_SUBST(GLSLANGVALIDATOR, [$glslangvalidator])
AM_CONDITIONAL(X11_VULKAN, test "x$HAVE_VULKAN" = "xyes")
AM_CONDITIONAL(WIN_VULKAN, test "x$HAVE_VULKAN" = "xyes")
AM_CONDITIONAL(TEST_VULKAN, test "x$HAVE_VULKAN" = "xyes")

View file

@ -1,9 +1,12 @@
libs_video_renderer_vulkan_tests = \
libs/video/renderer/vulkan/test/test-staging
if TEST_VULKAN
TESTS += $(libs_video_renderer_vulkan_tests)
check_PROGRAMS += $(libs_video_renderer_vulkan_tests)
endif
EXTRA_PROGRAMS += $(libs_video_renderer_vulkan_tests)
libs_video_renderer_vulkan_test_libs= \
libs/video/renderer/librender_vulkan.la \