glsl/tests: Catch mkdir errors to help explain when they happen.
authorEric Anholt <eric@anholt.net>
Tue, 10 Mar 2020 20:36:51 +0000 (13:36 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Mar 2020 19:47:23 +0000 (19:47 +0000)
commite178bca5cc194ecb3e6b447620045a72f9cc465d
treea7fb4a59258f366a13362722c84d058fec761898
parent7d54b84d49de991188a6a91bbadf00e89654f2c0
glsl/tests: Catch mkdir errors to help explain when they happen.

A recent pipeline
(https://gitlab.freedesktop.org/Venemo/mesa/-/jobs/1893357) failed
with what looks like an intermittent error related to making files for
the cache test inside of the core of the cache.  Given some of the
errors, it looks like maybe a mkdir failed, so log those errors
earlier so we can debug what's going on next time.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4140>
src/compiler/glsl/tests/cache_test.c