NetworkManager/tools
Thomas Haller 517e12c706
build/tests: ignore all valgrind warnings about unhandled syscalls
valgrind might log warnings about syscalls that it doesn't implement.
When we run valgrind tests, we check that the command exits with
success, but we also check that there is no unexpected content in the
valgrind log.

Those warnings are not relevant for us. We don't unit-tests valgrind, we
unit tests NetworkManager. Let's always remove such warnings with `sed`.

We already did that previously, but only for a explicit list of tests.
Now do it for all tests.

This is currently relevant on Fedora 35 and Ubuntu devel, where the
"close_range" syscall is used by libc, but not supported by valgrind.

While at it, rework the confusing logic of "HAS_ERRORS" variable.

(cherry picked from commit fc220f94af)
2022-01-05 10:26:19 +01:00
..
check-compare-generated.sh build: rename "tools/check-settings-docs.sh" to "check-compare-generated.sh" 2020-11-03 15:41:39 +01:00
check-config-options.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
check-docs.sh build: move "libnm/" to "src/" and split it 2021-02-24 12:48:37 +01:00
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
check-gitlab-ci.sh tools: improve detection of "ci-fairy" command in "tools/check-gitlab-ci.sh" 2020-12-11 16:08:47 +01:00
check-tree.sh build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
create-exports-NetworkManager.sh tools: use libtool --mode=execute 2021-04-04 09:27:35 +02:00
debug-helper.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
enums-to-docbook.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-property-infos.py tools: fix bogus code in "tools/generate-docs-nm-property-infos.py" 2021-07-06 09:33:59 +02:00
generate-docs-nm-settings-docs-gir.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-docs-merge.py python: remove unused imports 2021-05-27 08:52:30 +02:00
meson-post-install.sh docs: add more nm-settings manpages (dbus,nmcli,keyfile,ifcfg-rh) 2020-06-11 10:53:49 +02:00
run-nm-test.sh build/tests: ignore all valgrind warnings about unhandled syscalls 2022-01-05 10:26:19 +01:00
test-build.sh tui: move from "clients/tui/" to "src/nmtui/" 2021-03-15 17:10:54 +01:00
test-networkmanager-service.py tools: remove deprecated PropertiesChanged signal in "test-networkmanager-service.py" 2021-05-14 10:57:35 +02:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00