libcamera/test/gstreamer
Laurent Pinchart 6fc5f90f16 test: gstreamer: Include missing sanitizer/asan_interface.h header
The GStreamer tests define a __asan_default_options() function to
influence the behaviour of ASan. The function is declared in
sanitizer/asan_interface.h, but we don't include the header. This will
cause missing declaration warnings when we enable the
-Wmissing-declarations option.

Include the header to fix the issue. It can't be done unconditionally as
not all toolchains provide ASan, so check for its availability at
configuration time.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-06-26 12:07:11 +03:00
..
gstreamer_device_provider_test.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
gstreamer_multi_stream_test.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstreamer_single_stream_test.cpp test: gstreamer: Simplify single stream test 2024-05-13 16:33:43 +03:00
gstreamer_test.cpp test: gstreamer: Include missing sanitizer/asan_interface.h header 2024-06-26 12:07:11 +03:00
gstreamer_test.h libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
meson.build test: gstreamer: Include missing sanitizer/asan_interface.h header 2024-06-26 12:07:11 +03:00