6#ifndef SECP256K1_UNIT_TEST_H
7#define SECP256K1_UNIT_TEST_H
20#define MAX_SUBPROCESSES 16
26#define CASE(name) { #name, run_##name }
27#define CASE1(name) { #name, name }
29#define MAKE_TEST_MODULE(name) { \
32 ARRAY_SIZE(tests_##name) \
36#define REPEAT_TEST(fn) REPEAT_TEST_MULT(fn, 1)
37#define REPEAT_TEST_MULT(fn, multiplier) \
38 static void fn(void) { \
40 int repeat = COUNT * (multiplier); \
41 for (i = 0; i < repeat; i++) \
struct tf_targets targets
const struct tf_test_module * registry_no_rng
const struct tf_test_module * registry_modules
const struct tf_test_entry * slots[MAX_ARGS]
const struct tf_test_entry * data
static int tf_init(struct tf_framework *tf, int argc, char **argv)
void(* run_test_fn)(const struct tf_test_entry *)
static int tf_run(struct tf_framework *tf)
int(* setup_ctx_fn)(void)