CP: Reduce max iter count in alloc_callback_fail.device
authorPyry Haulos <phaulos@google.com>
Thu, 18 Aug 2016 14:29:04 +0000 (15:29 +0100)
committerPyry Haulos <phaulos@google.com>
Mon, 29 Aug 2016 22:38:06 +0000 (15:38 -0700)
commitef5688dda609177a28975ae033eddabee605e5bf
tree66ef74eaa1922f9119b49e917067731321544d46
parent1735b7bcaa04706338fb8228e92e81cf7a657538
CP: Reduce max iter count in alloc_callback_fail.device

Creating VkDevice can be costly operation so we need to limit number of
tries to a pretty low value. Other tests already use per-thread limit of
20.

Additionally, this patch adds a way to override the limit by specifying
--deqp-test-iteration-count=N command line parameter. This is useful for
full OOM testing.

Bug: 30811856

(cherry picked from commit 3b17fd4c4e2d450f34f68989ff786939032cdcb9)

Change-Id: Ib3aaeff24d7753d52a6a444abfbecf863803c9ec
external/vulkancts/modules/vulkan/api/vktApiObjectManagementTests.cpp