diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:44 +0000 |
commit | 836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch) | |
tree | 1604da8f482d02effa033c94a84be42bc0c848c3 /tests/run-unit-tests.sh | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip |
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-unit-tests.sh')
-rwxr-xr-x | tests/run-unit-tests.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/run-unit-tests.sh b/tests/run-unit-tests.sh index 1fedb880b..f819f1bc9 100755 --- a/tests/run-unit-tests.sh +++ b/tests/run-unit-tests.sh @@ -20,18 +20,20 @@ install_netdata() { echo "Installing Netdata" + + NETDATA_CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DENABLE_ADDRESS_SANITIZER=On" \ fakeroot ./netdata-installer.sh \ --install-prefix "$HOME" \ --dont-wait \ --dont-start-it \ - --enable-plugin-nfacct \ - --enable-plugin-freeipmi \ --disable-lto \ --enable-logsmanagement-tests } c_unit_tests() { echo "Running C code unit tests" + + ASAN_OPTIONS=detect_leaks=0 \ "$HOME"/netdata/usr/sbin/netdata -W unittest } |