tests: write image to current directory by default

This reverts 50b7b70835.

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>
This commit is contained in:
Pekka Paalanen 2019-11-01 16:27:07 +02:00
parent 9774917049
commit 2c73b673a7

View file

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