From 0e8513d4c6f54ec56b4009502adf16bdde2108fd Mon Sep 17 00:00:00 2001 From: Karsten Loesing Date: Sun, 15 Aug 2010 14:30:37 +0200 Subject: Run test_stats in a subprocess. --- src/test/test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/test/test.c') diff --git a/src/test/test.c b/src/test/test.c index ff166cef25..9a98a1a0a7 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), -- cgit v1.2.3-54-g00ecf