Add several test scripts wrapping test_workqueue

This is a fairly easy way for us to get our test coverage up on
compat_threads.c and workqueue.c -- I already implemented these
tests, so we might as well enable them.
This commit is contained in:
Nick Mathewson
2016-06-08 17:29:06 -04:00
parent 1e330e1947
commit 3cc374456b
9 changed files with 47 additions and 2 deletions
+3
View File
@@ -400,6 +400,9 @@ main(int argc, char **argv)
}
rq = replyqueue_new(as_flags);
if (as_flags && rq == NULL)
return 77; // 77 means "skipped".
tor_assert(rq);
tp = threadpool_new(opt_n_threads,
rq, new_state, free_state, NULL);