test_slow.c 685 B

12345678910111213141516171819202122232425262728
  1. /* Copyright (c) 2001-2004, Roger Dingledine.
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2019, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. /**
  6. * \file test_slow.c
  7. * \brief Slower unit tests for many pieces of the lower level Tor modules.
  8. **/
  9. #include "orconfig.h"
  10. #include <stdio.h>
  11. #ifdef HAVE_FCNTL_H
  12. #include <fcntl.h>
  13. #endif
  14. #include "core/or/or.h"
  15. #include "test/test.h"
  16. struct testgroup_t testgroups[] = {
  17. { "slow/crypto/", slow_crypto_tests },
  18. { "slow/process/", slow_process_tests },
  19. { "slow/prob_distr/", slow_stochastic_prob_distr_tests },
  20. { "slow/ptr/", slow_ptr_tests },
  21. END_OF_GROUPS
  22. };