Unlike ASan, by default UBSan prints one-line warnings and keeps going
and it makes it impossible for the CI to catch issues automatically when
it runs the unit tests. With this patch applied the CI should be able to
prevent issues like
https://gitlab.freedesktop.org/smcv/dbus-issue413/-/merge_requests/1#note_1549306
from making it into the repository going forward.
Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
export MAKE=${make}
make="${make} -j${ci_parallel} V=1 VERBOSE=1"
+export UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
+
case "$ci_buildsys" in
(autotools)
case "$ci_variant" in