Files
libvirt/tests
Michal Privoznik 99276efe0c tests: Link qemuxml2argvmock with test_utils_lib
When running qemuxmlconftest under valgrind, it fails with a
symbol lookup error:

  valgrind: symbol lookup error: libvirt.git/_build/tests/libqemuxml2argvmock.so: undefined symbol: virTestMakeDummyFD

This occurs because qemuxml2argvmock uses the
virTestMakeDummyFD() function (implemented in testutils.c) but
does not explicitly link against test_utils_lib. Fix this by
linking the test utils library to the mock library, statically.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2026-05-27 15:24:22 +02:00
..
2023-04-06 12:48:22 +02:00
2023-12-14 17:10:22 +01:00
2026-05-20 18:23:32 +02:00
2024-03-12 17:37:51 +01:00
2024-03-12 17:37:51 +01:00
2026-05-14 14:25:28 +02:00
2026-02-17 13:14:58 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2025-07-02 13:54:04 +02:00
2022-06-16 06:43:58 +02:00
…
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2023-04-06 12:48:22 +02:00
2022-06-16 06:43:58 +02:00
2025-07-02 13:54:04 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-03-14 15:17:48 +01:00
2023-03-13 13:29:07 +01:00
2025-07-02 13:54:04 +02:00
2025-11-20 15:09:10 +01:00