diff options
author | Will Storey <will@summercat.com> | 2017-10-21 20:01:04 -0700 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-12-07 12:06:20 +0100 |
commit | 1328e1ba08430b0eaa589919272d732bb84a6921 (patch) | |
tree | 99a1097d9fc61c87a41143b2c09a71f9298ff774 /tests/irc/core/Makefile.am | |
parent | 02aa8ee8bb7befc3c91f4b0fdfa17e4d721ba8d0 (diff) | |
download | irssi-1328e1ba08430b0eaa589919272d732bb84a6921.zip |
Add a test program to test mode parsing
This uses GLib's testing framework. It is to test the changes to the
mode parsing for #603.
Diffstat (limited to 'tests/irc/core/Makefile.am')
-rw-r--r-- | tests/irc/core/Makefile.am | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/irc/core/Makefile.am b/tests/irc/core/Makefile.am new file mode 100644 index 00000000..fff2a246 --- /dev/null +++ b/tests/irc/core/Makefile.am @@ -0,0 +1,36 @@ +AM_CPPFLAGS = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/core \ + -DSYSCONFDIR=\""$(sysconfdir)"\" \ + $(GLIB_CFLAGS) + +TESTS = test-irc +check_PROGRAMS = test-irc + +test_irc_CPPFLAGS = \ + -I$(top_srcdir)/src/irc/core \ + $(AM_CPPFLAGS) + +test_irc_DEPENDENCIES = \ + ../../../src/core/libcore.a \ + ../../../src/lib-config/libirssi_config.a + +test_irc_LDADD = \ + ../../../src/core/libcore.a \ + ../../../src/lib-config/libirssi_config.a \ + @GLIB_LIBS@ \ + @OPENSSL_LIBS@ + +test_irc_SOURCES = \ + test-irc.c \ + ../../../src/irc/core/irc-cap.c \ + ../../../src/irc/core/irc-nicklist.c \ + ../../../src/irc/core/irc-queries.c \ + ../../../src/irc/core/irc-servers-reconnect.c \ + ../../../src/irc/core/irc-servers-setup.c \ + ../../../src/irc/core/irc-servers.c \ + ../../../src/irc/core/irc.c \ + ../../../src/irc/core/mode-lists.c \ + ../../../src/irc/core/modes.c \ + ../../../src/irc/core/servers-idle.c \ + ../../../src/irc/core/servers-redirect.c |