media/gpu/test: Fix video decoder thumbnail test writing to wrong path.

This CL fixes a bug causing the video decoder thumbnail test to write the
thumbnails image to the wrong path. When calling MakeAbsoluteFilePath() on a
non-existing folder the path will always resolve to the current working
directory. To fix this we need to first create the path before resolving it.

This CL will also print the path of the output file, making it easier to locate.

TEST=./video_decode_accelerator_tests on eve


Change-Id: I0f8a0c2eef1c26097bfd5072a303b7db149ac06f
Commit-Queue: David Staessens <>
Reviewed-by: Hirokazu Honda <>
Cr-Commit-Position: refs/heads/master@{#676786}
1 file changed