提交 fe9f235a 编写于 作者: M Michal Privoznik

tests: Always build TLS related tests

Since GnuTLS is required there is no way to go with !WITH_GNUTLS
branch and just distribute these files.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 3700dd53
...@@ -227,10 +227,9 @@ test_programs += \ ...@@ -227,10 +227,9 @@ test_programs += \
virnetsockettest \ virnetsockettest \
virnetdaemontest \ virnetdaemontest \
virnetserverclienttest \ virnetserverclienttest \
virnettlscontexttest \
virnettlssessiontest \
$(NULL) $(NULL)
if WITH_GNUTLS
test_programs += virnettlscontexttest virnettlssessiontest
endif WITH_GNUTLS
endif WITH_REMOTE endif WITH_REMOTE
if WITH_LINUX if WITH_LINUX
...@@ -1027,7 +1026,6 @@ virnetserverclientmock_la_SOURCES = \ ...@@ -1027,7 +1026,6 @@ virnetserverclientmock_la_SOURCES = \
virnetserverclientmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) virnetserverclientmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS)
virnetserverclientmock_la_LIBADD = $(MOCKLIBS_LIBS) virnetserverclientmock_la_LIBADD = $(MOCKLIBS_LIBS)
if WITH_GNUTLS
virnettlscontexttest_SOURCES = \ virnettlscontexttest_SOURCES = \
virnettlscontexttest.c \ virnettlscontexttest.c \
virnettlshelpers.h virnettlshelpers.c \ virnettlshelpers.h virnettlshelpers.c \
...@@ -1046,12 +1044,6 @@ virnettlssessiontest_LDADD += -ltasn1 ...@@ -1046,12 +1044,6 @@ virnettlssessiontest_LDADD += -ltasn1
else ! HAVE_LIBTASN1 else ! HAVE_LIBTASN1
EXTRA_DIST += pkix_asn1_tab.c EXTRA_DIST += pkix_asn1_tab.c
endif ! HAVE_LIBTASN1 endif ! HAVE_LIBTASN1
else ! WITH_GNUTLS
EXTRA_DIST += \
virnettlscontexttest.c virnettlssessiontest.c \
virnettlshelpers.h virnettlshelpers.c \
testutils.h testutils.c pkix_asn1_tab.c
endif ! WITH_GNUTLS
virtimetest_SOURCES = \ virtimetest_SOURCES = \
virtimetest.c testutils.h testutils.c virtimetest.c testutils.h testutils.c
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册