Skip to content

Commit

Permalink
tests: put screenshots to ./logs by default
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Emilio Pozuelo Monfort <[email protected]>
Reviewed-by: Micah Fedke <[email protected]>
Reviewed-by: Quentin Glidic <[email protected]>
  • Loading branch information
ppaalanen committed Feb 7, 2017
1 parent b581783 commit 50b7b70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/weston-test-client-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50b7b70

Please sign in to comment.