Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ TEST_PROGS = \
wocky-session-test \
wocky-stanza-test \
wocky-tls-test \
wocky-sm-test \
wocky-utils-test \
wocky-xmpp-connection-test \
wocky-xmpp-node-test \
Expand Down Expand Up @@ -229,6 +230,19 @@ wocky_tls_test_SOURCES = \
wocky-test-stream.c wocky-test-stream.h
wocky_tls_test_CFLAGS = $(AM_CFLAGS) $(TLSDEFS)

EXTRA_wocky_sm_test_DEPENDENCIES = $(CA_DIR) certs
wocky_sm_test_SOURCES = \
wocky-sm-test.c \
wocky-test-sasl-auth-server.c \
wocky-test-sasl-auth-server.h \
wocky-test-connector-server.c \
wocky-test-connector-server.h \
wocky-test-helper.c wocky-test-helper.h \
wocky-test-stream.c wocky-test-stream.h \
test-resolver.c test-resolver.h
wocky_sm_test_LDADD = $(LDADD) @LIBSASL2_LIBS@
wocky_sm_test_CFLAGS = $(AM_CFLAGS) @LIBSASL2_CFLAGS@ $(TLSDEFS)

wocky_utils_test_SOURCES = wocky-utils-test.c

wocky_xmpp_connection_test_SOURCES = \
Expand Down Expand Up @@ -297,7 +311,7 @@ test-%: wocky-%-test
.PHONY: test test-report

include $(top_srcdir)/tools/check-coding-style.mk
check-local: test check-coding-style
check-local: check-coding-style test

############################################################################

Expand Down
10 changes: 10 additions & 0 deletions tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,16 @@ tests = {
'wocky-test-stream.c', 'wocky-test-stream.h',
'wocky-tls-test.c',
],
'wocky-sm-test': [
'wocky-test-sasl-auth-server.c',
'wocky-test-sasl-auth-server.h',
'wocky-test-connector-server.c',
'wocky-test-connector-server.h',
'wocky-test-helper.c', 'wocky-test-helper.h',
'wocky-test-stream.c', 'wocky-test-stream.h',
'test-resolver.c', 'test-resolver.h',
'wocky-sm-test.c',
],
'wocky-utils-test': [
'wocky-utils-test.c',
],
Expand Down
Loading