vktAmberTestCase: Bump recipe timeout to 10 minutes.
authorBen Clayton <bclayton@google.com>
Wed, 4 Sep 2019 15:52:07 +0000 (16:52 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 12 Sep 2019 16:11:04 +0000 (12:11 -0400)
dEQP already provides mechanisms for timeouts - we don't need to rely
on additional timeouts inside amber.
Worse still, if the timeout in amber is actually hit, Vulkan objects
are destructed while the commands are still queued, which can
cause crashes instead of a clean test failure.

Components: Vulkan
VK-GL-CTS Issue: 1971
Affects:
  dEQP-VK.rasterization.provoking_vertex.*
  dEQP-VK.graphicsfuzz.*
  dEQP-VK.pipeline.vertex_only.*
  dEQP-VK.spirv_assembly.instruction.compute.ptr_access_chain.*
  dEQP-VK.spirv_assembly.instruction.compute.signed_int_compare.*

Change-Id: I3a2e1b1f2796af8eea7e26a8de27e8fc362b9653

external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp

index 11089b2..51c5441 100644 (file)
@@ -180,6 +180,7 @@ bool AmberTestCase::parse(const char* category, const std::string& filename)
                return false;
 
        m_recipe = new amber::Recipe();
+       m_recipe->SetFenceTimeout(1000 * 60 * 10); // 10 minutes
 
        amber::Amber am;
        amber::Result r = am.Parse(script, m_recipe);