mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
validate:tools: Create the rendering directory if it does not exist
This commit is contained in:
parent
8697dd3da4
commit
0b3b456f6a
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ def main():
|
|||
options.xunit_file = os.path.join(options.logsdir, "xunit.xml")
|
||||
if options.dest is None:
|
||||
options.dest = os.path.join(options.logsdir, "rendered")
|
||||
if not os.path.exists(options.dest):
|
||||
os.makedirs(options.dest)
|
||||
if urlparse.urlparse(options.dest).scheme == "":
|
||||
options.dest = path2url(options.dest)
|
||||
if options.no_color:
|
||||
|
|
Loading…
Reference in a new issue