Changes in tests/check.c [7bcdde3:7738014]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/check.c
r7bcdde3 r7738014 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 23 33 double gettime() 24 34 { … … 40 50 /* From check_irc.c */ 41 51 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); 42 64 43 65 int main (int argc, char **argv) … … 67 89 if (verbose) { 68 90 log_link( LOGLVL_ERROR, LOGOUTPUT_CONSOLE ); 91 #ifdef DEBUG 69 92 log_link( LOGLVL_DEBUG, LOGOUTPUT_CONSOLE ); 93 #endif 70 94 log_link( LOGLVL_INFO, LOGOUTPUT_CONSOLE ); 71 95 log_link( LOGLVL_WARNING, LOGOUTPUT_CONSOLE ); … … 79 103 srunner_add_suite(sr, md5_suite()); 80 104 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()); 81 109 if (no_fork) 82 110 srunner_set_fork_status(sr, CK_NOFORK);
Note: See TracChangeset
for help on using the changeset viewer.