summaryrefslogtreecommitdiff
path: root/test/tests-common.h
blob: d5286caf229faf38243d2551d055ff39582309f5 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef TESTS_COMMON_H
#define TESTS_COMMON_H

#include "tests.h"

#define run_test(func) run_test_in_child(func, #func)

void run_test_in_child(int (*func)(void), const char *funcname);

#endif /* TESTS_COMMON_H */