valgrind test run doesn't error on leaks
meson test --setup=valgrind
runs the test suite through valgrind. This used to fail when a memory leak was detected, but it doesn't anymore for some reason. Either some change in valgrind or some change in the invocation but right now it doesn't fail on leaks (e.g. git master as of f45a8c9e has a leak like this:
==9709== 2,639 (400 direct, 2,239 indirect) bytes in 5 blocks are definitely lost in loss record 3,094 of 3,177
==9709== at 0x483AB1A: calloc (vg_replace_malloc.c:762)
==9709== by 0x496923: zalloc (libinput-util.h:157)
==9709== by 0x499091: quirks_init_subsystem (quirks.c:1024)
==9709== by 0x494768: test_attr_parse (test-quirks.c:931)
==9709== by 0x495510: quirks_parse_string_attr (test-quirks.c:1193)
==9709== by 0x4A9C1DF: ??? (in /usr/lib64/libcheck.so.0.0.0)
==9709== by 0x4A9C7ED: srunner_run_tagged (in /usr/lib64/libcheck.so.0.0.0)
==9709== by 0x40E826: litest_run_suite (litest.c:839)
==9709== by 0x40EA83: litest_fork_subtests (litest.c:885)
==9709== by 0x40EE55: litest_run (litest.c:1010)
==9709== by 0x419326: main (litest.c:4190)