From 67e277717c026477d30779446c9ccfed8cede34c Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Tue, 2 Mar 2021 05:31:47 +0000 Subject: [PATCH] Added test failure if fail to find the draw marker --- util/test/tests/GL/GL_Entry_Points.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/test/tests/GL/GL_Entry_Points.py b/util/test/tests/GL/GL_Entry_Points.py index f60bb9d6a..258d44a9a 100644 --- a/util/test/tests/GL/GL_Entry_Points.py +++ b/util/test/tests/GL/GL_Entry_Points.py @@ -17,6 +17,8 @@ class GL_Entry_Points(rdtest.TestCase): for test in expected.keys(): marker: rd.DrawcallDescription = self.find_draw(test) + if marker is None: + raise rdtest.TestFailureException('Failed to find draw {}'.format(test)) draw: rd.DrawcallDescription = marker.next calls = []