doc
torture.h
Go to the documentation of this file.
1#ifndef _TORTURE_H
2#define _TORTURE_H
3
4#include <stdarg.h>
5#include <stddef.h>
6#include <setjmp.h>
7
8#include <cmocka.h>
9
10/* Used by main to communicate with parse_opt. */
11struct argument_s {
12 char *args[2];
14};
15
16void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments);
17
19
20/*
21 * This function must be defined in every unit test file.
22 */
24
25#endif /* _TORTURE_H */
char * args[2]
Definition torture.h:12
int verbose
Definition torture.h:13
int torture_csync_verbosity(void)
int torture_run_tests(void)
void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments)