summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-01-27 17:30:27 +0100
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-02-07 14:25:27 +0200
commit50b7b708352dbf0d6670d9ae5668e3c215e28662 (patch)
tree6a4e1f402048613a5d569fa821950d7d45eb87d1
parentb581783b793862f6d5c13eebc416385718b8440d (diff)
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>
-rw-r--r--tests/weston-test-client-helper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 7957094f..fd6d5c84 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -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)