From 6c1889ed709901a50374baf42ceeb6414c353b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Sat, 22 Feb 2020 14:51:05 +0100 Subject: [PATCH] tests: link the libxl tests with libxltestdriver.la MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This lets us mock functions from the libxl driver. Signed-off-by: Ján Tomko Reviewed-by: Jim Fehlig --- tests/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index bfb8e34378..83326dbaa9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -506,17 +506,20 @@ libxltestdriver_la_LIBADD = $(libxl_LDADDS) xlconfigtest_SOURCES = \ xlconfigtest.c testutilsxen.c testutilsxen.h \ testutils.c testutils.h -xlconfigtest_LDADD =$(libxl_LDADDS) +xlconfigtest_LDADD = libxltestdriver.la \ + $(libxl_LDADDS) xmconfigtest_SOURCES = \ xmconfigtest.c testutilsxen.c testutilsxen.h \ testutils.c testutils.h -xmconfigtest_LDADD = $(libxl_LDADDS) +xmconfigtest_LDADD = libxltestdriver.la \ + $(libxl_LDADDS) libxlxml2domconfigtest_SOURCES = \ libxlxml2domconfigtest.c testutilsxen.c testutilsxen.h \ testutils.c testutils.h -libxlxml2domconfigtest_LDADD = $(libxl_LDADDS) $(LIBXML_LIBS) +libxlxml2domconfigtest_LDADD = libxltestdriver.la \ + $(libxl_LDADDS) $(LIBXML_LIBS) libxlmock_la_SOURCES = \ libxlmock.c -- GitLab