Commit 125a5fb2 authored by Mark Janes's avatar Mark Janes

vulkan: pass ANV_ABORT_ON_DEVICE_LOSS

Mesa will abort on gpu hang, limiting the number of VulkanCTS failures.
parent fdd58021
......@@ -104,7 +104,8 @@ class CrucibleTester(object):
pm = bs.ProjectMap()
build_root = pm.build_root()
env = { "LD_LIBRARY_PATH" : build_root + "/lib",
"VK_ICD_FILENAMES" : build_root + "/usr/share/vulkan/icd.d/dev_icd.json"}
"VK_ICD_FILENAMES" : build_root + "/usr/share/vulkan/icd.d/dev_icd.json",
"ANV_ABORT_ON_DEVICE_LOSS" : "true"}
o = bs.Options()
o.update_env(env)
br = bs.ProjectMap().build_root()
......
......@@ -48,8 +48,9 @@ class VulkanTester(object):
pass
def test(self):
pm = bs.ProjectMap()
env={"VK_ICD_FILENAMES" : pm.build_root() + \
"/usr/share/vulkan/icd.d/dev_icd.json"}
env = {"VK_ICD_FILENAMES" : pm.build_root() + \
"/usr/share/vulkan/icd.d/dev_icd.json",
"ANV_ABORT_ON_DEVICE_LOSS" : "true"}
tester = bs.DeqpTester()
binary = pm.build_root() + "/opt/deqp/modules/vulkan/deqp-vk"
results = tester.test(binary,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment