mesa/src/intel/mda
Dylan Baker 9509d0d8b8 intel/mda: Use GTEST fixtures to manage File handles
Coverity points out that if the asserts fail, then the file won't be
closed, and therefore wont be deleted. We'd like to avoid littering the
temp directory with useless files.

This uses GTEST's `TEST_F` feature with a custom class to manager the
creation and destruction of the tmpfile.

CID: 1666502
CID: 1666525
CID: 1666579
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37744>
2025-10-30 20:03:24 +00:00
..
debug_archiver.c intel/mda: Add MDA_FILTER to select which archives to generate 2025-09-24 23:08:45 -07:00
debug_archiver.h
mda.c util/dynarray: infer type in append 2025-10-24 18:32:07 +00:00
meson.build intel/mda: Add MDA_OUTPUT_DIR and MDA_PREFIX environment variable support 2025-09-24 23:08:45 -07:00
slice.c intel/mda: Fix gnu-empty-initializer warning 2025-09-26 08:30:16 +00:00
slice.h
slice_test.cpp
slice_test.h
tar.c
tar.h
tar_test.cpp intel/mda: Use GTEST fixtures to manage File handles 2025-10-30 20:03:24 +00:00