Changeset c227706 for tests


Ignore:
Timestamp:
2006-12-24T19:35:13Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
7bee5af
Parents:
9225e08
Message:

Refactor the help code to take a filename rather than using the global struct.

Location:
tests
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile

    r9225e08 rc227706  
    1111main_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
    1212
    13 test_objs = check.o check_util.o check_nick.o check_md5.o check_irc.o
     13test_objs = check.o check_util.o check_nick.o check_md5.o check_irc.o check_help.o
    1414
    1515check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
  • tests/check.c

    r9225e08 rc227706  
    4141Suite *irc_suite(void);
    4242
     43/* From check_help.c */
     44Suite *help_suite(void);
     45
    4346int main (int argc, char **argv)
    4447{
     
    8184        srunner_add_suite(sr, md5_suite());
    8285        srunner_add_suite(sr, irc_suite());
     86        srunner_add_suite(sr, help_suite());
    8387        if (no_fork)
    8488                srunner_set_fork_status(sr, CK_NOFORK);
Note: See TracChangeset for help on using the changeset viewer.