mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Validate EIDs by default during python autotests
Fail test if the EIDs are not valid
This commit is contained in:
@@ -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