diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-15 14:30:37 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-15 14:30:37 +0200 |
commit | 0e8513d4c6f54ec56b4009502adf16bdde2108fd (patch) | |
tree | 1fa6d7d7cdb69408dc735c930abc1d3fccf62878 | |
parent | 69545efbafaf55f5d6f768268eb73b60547acd64 (diff) | |
download | tor-0e8513d4c6f54ec56b4009502adf16bdde2108fd.tar tor-0e8513d4c6f54ec56b4009502adf16bdde2108fd.tar.gz |
Run test_stats in a subprocess.
-rw-r--r-- | src/test/test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test.c b/src/test/test.c index ff166cef2..9a98a1a0a 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1233,6 +1233,8 @@ const struct testcase_setup_t legacy_setup = { test_ ## group ## _ ## name } #define DISABLED(name) \ { #name, legacy_test_helper, TT_SKIP, &legacy_setup, name } +#define FORK(name) \ + { #name, legacy_test_helper, TT_FORK, &legacy_setup, test_ ## name } static struct testcase_t test_array[] = { ENT(buffers), @@ -1241,7 +1243,7 @@ static struct testcase_t test_array[] = { ENT(policies), ENT(rend_fns), ENT(geoip), - ENT(stats), + FORK(stats), DISABLED(bench_aes), DISABLED(bench_dmap), |