[PATCH weston 5/7] tests: put screenshots to ./logs by default
Emilio Pozuelo Monfort
pochu27 at gmail.com
Fri Jan 27 16:30:27 UTC 2017
From: Pekka Paalanen <pekka.paalanen at 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.paalanen at collabora.co.uk>
Reviewed-by: Emilio Pozuelo Monfort <emilio.pozuelo at 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
More information about the wayland-devel
mailing list