selftest: enable undefined behaviour sanitizer
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 13 May 2019 23:25:07 +0000 (11:25 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 May 2019 07:20:28 +0000 (07:20 +0000)
commitb1a32dd7f50ed0aee3d0eea5a124cb8ddfa417ad
tree4447f92b73f3c345ffc0cb299347091772a7be04
parentb0cc6d217485c317b2138347216fac5d74684328
selftest: enable undefined behaviour sanitizer

Add a --undefined-sanitizer option to configure, this causes the tests
to be run with the undefined behaviout sanitizer enabled.

Errors can be suppressed by adding entries to selftest/ubsan.supp

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May 14 07:20:28 UTC 2019 on sn-devel-184
buildtools/wafsamba/samba_autoconf.py
buildtools/wafsamba/wscript
selftest/ubsan.supp [new file with mode: 0644]
selftest/wscript