- Timestamp:
- 2006-12-06T13:57:25Z (18 years ago)
- Branches:
- master
- Children:
- a51be64
- Parents:
- 3b4cc8f
- Location:
- tests
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile
r3b4cc8f r7bcdde3 4 4 5 5 all: check 6 ./check 6 ./check $(CHECKFLAGS) 7 7 8 8 clean: … … 11 11 main_objs = account.o bitlbee.o conf.o crypting.o help.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o storage_text.o user.o 12 12 13 test_objs = check.o check_util.o check_nick.o check_md5.o 13 test_objs = check.o check_util.o check_nick.o check_md5.o check_irc.o 14 14 15 15 check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o -
tests/check.c
r3b4cc8f r7bcdde3 38 38 Suite *md5_suite(void); 39 39 40 /* From check_irc.c */ 41 Suite *irc_suite(void); 42 40 43 int main (int argc, char **argv) 41 44 { … … 60 63 g_option_context_free(pc); 61 64 65 log_init(); 66 67 if (verbose) { 68 log_link( LOGLVL_ERROR, LOGOUTPUT_CONSOLE ); 69 log_link( LOGLVL_DEBUG, LOGOUTPUT_CONSOLE ); 70 log_link( LOGLVL_INFO, LOGOUTPUT_CONSOLE ); 71 log_link( LOGLVL_WARNING, LOGOUTPUT_CONSOLE ); 72 } 73 74 global.conf = conf_load( 0, NULL); 75 global.conf->runmode = RUNMODE_DAEMON; 62 76 63 77 sr = srunner_create(util_suite()); 64 78 srunner_add_suite(sr, nick_suite()); 65 79 srunner_add_suite(sr, md5_suite()); 80 srunner_add_suite(sr, irc_suite()); 66 81 if (no_fork) 67 82 srunner_set_fork_status(sr, CK_NOFORK);
Note: See TracChangeset
for help on using the changeset viewer.