validate: baseclasses: Reset Test.extra_logfiles when copying to start an iteration

Otherwise we get a big mixup with all iteration pointing to all the extra_logfiles

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8640>
This commit is contained in:
Thibault Saunier 2025-03-13 16:54:22 -03:00 committed by GStreamer Marge Bot
parent 2f2b19be83
commit e845b596a2

View File

@ -234,6 +234,7 @@ class Test(Loggable):
copied_test._uuid = None
copied_test.options = copy.copy(self.options)
copied_test.options.logsdir = os.path.join(copied_test.options.logsdir, str(nth))
copied_test.extra_logfiles = set()
os.makedirs(copied_test.options.logsdir, exist_ok=True)
return copied_test