Commit 50b7b708 authored by Pekka Paalanen's avatar Pekka Paalanen

tests: put screenshots to ./logs by default

Logs is where we write all our custom test logs, let's also put the
screenshots in the same place by default from cluttering the base
directory.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Reviewed-by: default avatarMicah Fedke <micah.fedke@collabora.co.uk>
Reviewed-by: Quentin Glidic's avatarQuentin Glidic <sardemff7+git@sardemff7.net>
parent b581783b
......@@ -912,9 +912,10 @@ output_path(void)
char *path = getenv("WESTON_TEST_OUTPUT_PATH");
if (!path)
return ".";
return "./logs";
return path;
}
}
char*
screenshot_output_filename(const char *basename, uint32_t seq)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment