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.
This commit is contained in:
Thomas Haller 2020-04-20 20:18:21 +02:00
parent 994dc555d5
commit a1f9f1fde3

View file

@ -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