From a1f9f1fde3091a7d09a409390a50f76723cbb562 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 20 Apr 2020 20:18:21 +0200 Subject: [PATCH] tests: ignore valrind false positives when running meson tests On newer versions, the test binaries where renamed so that meson and autotools build the same executables. Hence, the workaround for valgrind warnings works on newer versions, but not on this branch. Instead of backporting the renaming of the build artefacts, adjust the test runner to work with meson builds. --- tools/run-nm-test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index c0680f29b8..e8af231883 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -302,7 +302,10 @@ if [ $HAS_ERRORS -eq 0 ]; then 'test-service-providers' | \ 'test-remote-settings-client' | \ 'test-secret-agent' | \ - 'test-nm-client' ) + 'test-nm-client' | \ + 'libnm-test-remote-settings-client' | \ + 'libnm-test-nm-client' | \ + 'libnm-test-secret-agent' ) if [ -z "$(sed -e '/^--[0-9]\+-- WARNING: unhandled .* syscall: /,/^--[0-9]\+-- it at http.*\.$/d' "$LOGFILE")" ]; then HAS_ERRORS=1 fi