gitlab-ci: create always the "results" directory with tracie

Otherwise, we will fail when the traces description file doesn't
contain any checksum for the specified device.

Fixes: efbbf8bb81 ("tracie: Print results in a machine readable format")
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4839>
This commit is contained in:
Andres Gomez
2020-04-30 22:49:58 +03:00
parent 1ef03dade1
commit 8546d1dd78
2 changed files with 2 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ def main():
all_ok = all_ok and ok
results.update(result)
os.makedirs(RESULTS_PATH, exist_ok=True)
with open(os.path.join(RESULTS_PATH, 'results.yml'), 'w') as f:
yaml.safe_dump(results, f, default_flow_style=False)