tests: write image to current directory by default
authorPekka Paalanen <pekka.paalanen@collabora.com>
Fri, 1 Nov 2019 14:27:07 +0000 (16:27 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Fri, 22 Nov 2019 10:53:01 +0000 (12:53 +0200)
This reverts 50b7b708352dbf0d6670d9ae5668e3c215e28662.

We didn't make Meson create a logs directory, so writing the images fails
because the directory does not exist. If you run a test without Meson, there is
even less expectation that it would write somewhere else than CWD by default.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
tests/weston-test-client-helper.c

index f7d7df519f555b0d82d44b261dc034b92699269d..5523844c742bb915a30552a432878cded24e7415 100644 (file)
@@ -1010,7 +1010,7 @@ output_path(void)
        char *path = getenv("WESTON_TEST_OUTPUT_PATH");
 
        if (!path)
-               return "./logs";
+               return ".";
 
        return path;
 }