Changes in tests/check.c [7738014:7bcdde3]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/check.c
r7738014 r7bcdde3 21 21 } 22 22 23 irc_t *torture_irc(void)24 {25 irc_t *irc;26 GIOChannel *ch1, *ch2;27 if (!g_io_channel_pair(&ch1, &ch2))28 return NULL;29 irc = irc_new(g_io_channel_unix_get_fd(ch1));30 return irc;31 }32 33 23 double gettime() 34 24 { … … 50 40 /* From check_irc.c */ 51 41 Suite *irc_suite(void); 52 53 /* From check_help.c */54 Suite *help_suite(void);55 56 /* From check_user.c */57 Suite *user_suite(void);58 59 /* From check_crypting.c */60 Suite *crypting_suite(void);61 62 /* From check_set.c */63 Suite *set_suite(void);64 42 65 43 int main (int argc, char **argv) … … 89 67 if (verbose) { 90 68 log_link( LOGLVL_ERROR, LOGOUTPUT_CONSOLE ); 91 #ifdef DEBUG92 69 log_link( LOGLVL_DEBUG, LOGOUTPUT_CONSOLE ); 93 #endif94 70 log_link( LOGLVL_INFO, LOGOUTPUT_CONSOLE ); 95 71 log_link( LOGLVL_WARNING, LOGOUTPUT_CONSOLE ); … … 103 79 srunner_add_suite(sr, md5_suite()); 104 80 srunner_add_suite(sr, irc_suite()); 105 srunner_add_suite(sr, help_suite());106 srunner_add_suite(sr, user_suite());107 srunner_add_suite(sr, crypting_suite());108 srunner_add_suite(sr, set_suite());109 81 if (no_fork) 110 82 srunner_set_fork_status(sr, CK_NOFORK);
Note: See TracChangeset
for help on using the changeset viewer.