Jan, On 2024-02-06 08:27, Jan Kiszka wrote:
Interesting - does that report anything? And will it fail on errors only or also on warnings?
I've left it configured with the defaults: VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no VALGRIND_LOG_COMPILER = \ $(valgrind_lt) \ $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) Artificially forcing a leak: % make check-valgrind Making check-valgrind in tools/tests USE memcheck: CCLD test_ebgenv_api_internal CCLD test_ebgenv_api CCLD test_uservars CCLD test_fat CC ../../env/test_fatvars-fatvars.o CCLD test_fatvars PASS: test_bgenv_init_retval PASS: test_probe_config_partitions PASS: test_probe_config_file FAIL: test_ebgenv_api_internal FAIL: test_ebgenv_api PASS: test_uservars PASS: test_fat PASS: test_fatvars ... Looking in tools/tests/test-suite-memcheck.log - FAIL: test_ebgenv_api_internal ============================== ... ==1180619== 16 bytes in 1 blocks are definitely lost in loss record 1 of 2 ==1180619== at 0x483AB65: calloc (vg_replace_malloc.c:760) ==1180619== by 0x10D545: bgenv_open_by_index (env_api_fat.c:210) ==1180619== by 0x10D545: bgenv_open_latest (env_api_fat.c:243) ==1180619== by 0x10D545: bgenv_create_new (env_api_fat.c:457) ==1180619== by 0x10B67F: ebgenv_api_internal_bgenv_create_new_fn (test_ebgenv_api_internal.c:252) ==1180619== by 0x112050: tcase_run_tfun_nofork (check_run.c:420) ==1180619== by 0x1125F9: srunner_iterate_tcase_tfuns (check_run.c:263) ==1180619== by 0x1125F9: srunner_run_tcase (check_run.c:402) ==1180619== by 0x1125F9: srunner_iterate_suites (check_run.c:222) ==1180619== by 0x1125F9: srunner_run_tagged (check_run.c:814) ==1180619== by 0x10A5AF: main (test_main.c:38) Earl -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to efibootguard-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/83d63f7d-949b-4d7c-8943-d150e70f9130%40yahoo.com.