context: Inherit criterion_options in the test sandbox. Fixes #164.

This commit is contained in:
Snaipe 2016-09-21 13:49:19 +02:00
parent a9df7911d6
commit 4093cfa0d6

View file

@ -287,6 +287,10 @@ static bxf_instance *run_test(struct run_next_context *ctx,
param, ctx->params.size);
}
if (!rc)
rc = bxf_context_addstatic(inst_ctx, &criterion_options,
sizeof (criterion_options));
if (!rc)
rc = bxf_context_addarena(inst_ctx, cri_alloc_getarena());