Changeset 1fc2958 for tests/check.c
- Timestamp:
- 2006-06-16T12:07:51Z (19 years ago)
- Branches:
- master
- Children:
- 125b35d
- Parents:
- c2fa827
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/check.c
rc2fa827 r1fc2958 3 3 #include <gmodule.h> 4 4 #include <check.h> 5 #include "bitlbee.h" 6 7 global_t global; /* Against global namespace pollution */ 8 9 double gettime() 10 { 11 struct timeval time[1]; 12 13 gettimeofday( time, 0 ); 14 return( (double) time->tv_sec + (double) time->tv_usec / 1000000 ); 15 } 5 16 6 17 /* From check_util.c */ 7 18 Suite *util_suite(void); 19 20 /* From check_nick.c */ 21 Suite *nick_suite(void); 8 22 9 23 int main (void) … … 11 25 int nf; 12 26 SRunner *sr = srunner_create(util_suite()); 27 srunner_add_suite(sr, nick_suite()); 13 28 srunner_run_all (sr, CK_NORMAL); 14 29 nf = srunner_ntests_failed(sr);
Note: See TracChangeset
for help on using the changeset viewer.