adding stack trace to tests

This commit is contained in:
2025-03-01 13:39:06 +01:00
parent ff01dafe4b
commit ff772af2e1
3 changed files with 52 additions and 1 deletions

View File

@@ -94,6 +94,10 @@ if has_config("vulkan-tests") then
set_group("VulkanTests")
add_requires("unity_test")
if is_plat("linux") then
add_requires("libbacktrace")
end
target("VulkanUnitTests")
set_kind("binary")
add_deps("pulse_gpu")
@@ -102,6 +106,7 @@ if has_config("vulkan-tests") then
add_files("**.nzsl")
add_packages("unity_test")
if is_plat("linux") then
add_packages("libbacktrace")
set_extension(".x86_64")
end
target_end()