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 <pekka.paalanen@collabora.co.uk> Reviewed-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> Reviewed-by: Micah Fedke <micah.fedke@collabora.co.uk> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
@@ -912,9 +912,10 @@ output_path(void)
|
|||||||
char *path = getenv("WESTON_TEST_OUTPUT_PATH");
|
char *path = getenv("WESTON_TEST_OUTPUT_PATH");
|
||||||
|
|
||||||
if (!path)
|
if (!path)
|
||||||
return ".";
|
return "./logs";
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
char*
|
||||||
screenshot_output_filename(const char *basename, uint32_t seq)
|
screenshot_output_filename(const char *basename, uint32_t seq)
|
||||||
|
|||||||
Reference in New Issue
Block a user