You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627
  1. #include <sys/types.h>
  2. #include <sys/time.h>
  3. #include <sys/wait.h>
  4. #include <sys/param.h>
  5. #include <netdb.h>
  6. #include <syslog.h>
  7. #include <fcntl.h>
  8. #include <stdlib.h>
  9. #include "../config.h"
  10. #include "../main.h"
  11. #include "../cfg_file.h"
  12. #include "tests.h"
  13. int
  14. main (int argc, char **argv)
  15. {
  16. g_mem_set_vtable(glib_mem_profiler_table);
  17. g_test_init (&argc, &argv, NULL);
  18. g_test_add_func ("/rspamd/url", rspamd_url_test_func);
  19. g_test_add_func ("/rspamd/memcached", rspamd_memcached_test_func);
  20. g_test_run ();
  21. }