selftest: Allow make test to run with --address-sanitizer
authorAndrew Bartlett <abartlet@samba.org>
Thu, 3 May 2018 03:47:45 +0000 (15:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 3 May 2018 06:17:44 +0000 (08:17 +0200)
commit61244998048111e2100e7fb535b3c9338853cbed
tree7cb8d87f2521f9daa5b4dd4cb44cfa685fe41c15
parent7e091e505156381e385235ab4518b4d133a98497
selftest: Allow make test to run with --address-sanitizer

Recent GCC versions enforce that the library must be in LD_PRELOAD if linked to a plugin
(like a python module).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
selftest/selftest.pl
selftest/wscript