As a followup to #17633 we could use better error handling when valgrind executable is missing, or when something else goes wrong (e.g. #17633#pullrequestreview-326402329).
E.g. I ran into (burried in the logs) valgrind: Unknown option: --exit-on-first-error=yes valgrind: Use --help for more information or consult the user manual..
That would have been caught by checking the version number (3.13 doesn't have this flag).