mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 13:21:45 +00:00
Validate EIDs by default during python autotests
Fail test if the EIDs are not valid
This commit is contained in:
1 parent
4a5e5e999e
commit
0f3d7965e3
1 file changed
+3
@@ -547,6 +547,9 @@ class TestCase:
|
||||
self.controller = analyse.open_capture(self.capture_filename, opts=self.get_replay_options())
|
||||
self.sdfile = self.controller.GetStructuredFile()
|
||||
|
||||
if not self.validate_eventids(self.controller):
|
||||
raise TestFailureException("ERROR: capture doesn't have valid event IDs.")
|
||||
|
||||
log.print("Checking capture")
|
||||
|
||||
self.check_capture()
|
||||
|
||||
Reference in new issue
Block a user