validate:launcher: Cleanup test uuid when copying it

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3122>
This commit is contained in:
Thibault Saunier 2022-10-05 12:57:02 -03:00 committed by GStreamer Marge Bot
parent f3c162cc85
commit 9abceda343

View file

@ -165,6 +165,7 @@ class Test(Loggable):
copied_test = copy.copy(self)
if nth:
copied_test.classname += '_it' + str(nth)
copied_test._uuid = None
copied_test.options = copy.copy(self.options)
copied_test.options.logsdir = os.path.join(copied_test.options.logsdir, str(nth))
os.makedirs(copied_test.options.logsdir, exist_ok=True)