]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: add --enable-asan and --memcheck-asan for tests
authorKarel Zak <kzak@redhat.com>
Thu, 23 Nov 2017 13:59:05 +0000 (14:59 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Nov 2017 13:59:05 +0000 (14:59 +0100)
commitb97cc9a8299ad84bf75093dc390e36eb6ff77761
treea8300730960d2378efadd3b867e73dd174d45e17
parentd3f58f8aee3f286ec0565d15758acbcf65f69ae0
build-sys: add --enable-asan and --memcheck-asan for tests

The command ./configure --enable-asan adds -fsanitize=address
to the compiler command line. In the regression tests leaks detection
is disabled by default. You have to use --memcheck-asan on test
command line to enable.

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
tests/functions.sh
tests/run.sh