mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
add glib testing TAP utilities
This commit is contained in:
parent
1328e1ba08
commit
c20eddeb38
8 changed files with 828 additions and 3 deletions
|
|
@ -1,11 +1,12 @@
|
|||
include $(top_srcdir)/utils/glib-tap.mk
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/core \
|
||||
-DSYSCONFDIR=\""$(sysconfdir)"\" \
|
||||
$(GLIB_CFLAGS)
|
||||
|
||||
TESTS = test-irc
|
||||
check_PROGRAMS = test-irc
|
||||
test_programs = test-irc
|
||||
|
||||
test_irc_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/irc/core \
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ int main(int argc, char **argv)
|
|||
g_test_add_func("/test/event_get_param", test_event_get_param);
|
||||
g_test_add_func("/test/event_get_params", test_event_get_params);
|
||||
|
||||
g_test_set_nonfatal_assertions();
|
||||
return g_test_run();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue