diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-23 11:15:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-23 11:15:53 -0500 |
commit | 7322de15dc2f0858291f40df1a55a66c80b7fda9 (patch) | |
tree | 5d1159b5330c587667a6ea369c93e3160be59175 /src/test/test_slow.c | |
parent | 420037dcefade09f43e4a6e44282ed04f9f3ac52 (diff) | |
download | tor-7322de15dc2f0858291f40df1a55a66c80b7fda9.tar.gz tor-7322de15dc2f0858291f40df1a55a66c80b7fda9.zip |
Split the slow unit tests into their own binary
This can run in parallel with the faster ones and the other tests.
Diffstat (limited to 'src/test/test_slow.c')
-rw-r--r-- | src/test/test_slow.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/test_slow.c b/src/test/test_slow.c new file mode 100644 index 0000000000..32386b485e --- /dev/null +++ b/src/test/test_slow.c @@ -0,0 +1,29 @@ +/* Copyright (c) 2001-2004, Roger Dingledine. + * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. + * Copyright (c) 2007-2015, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file test_slow.c + * \brief Slower unit tests for many pieces of the lower level Tor modules. + **/ + +#include "orconfig.h" + +#include <stdio.h> +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif + +#include "or.h" +#include "test.h" + +extern struct testcase_t slow_crypto_tests[]; +extern struct testcase_t slow_util_tests[]; + +struct testgroup_t testgroups[] = { + { "slow/crypto/", slow_crypto_tests }, + { "slow/util/", slow_util_tests }, + END_OF_GROUPS +}; + |