From: Pekka Paalanen <pekka.paala...@collabora.co.uk> 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.paala...@collabora.co.uk> Reviewed-by: Emilio Pozuelo Monfort <emilio.pozu...@collabora.co.uk> --- tests/weston-test-client-helper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c index fd6ebaf8..dd411925 100644 --- a/tests/weston-test-client-helper.c +++ b/tests/weston-test-client-helper.c @@ -932,9 +932,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) -- 2.11.0 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel