mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
lib: add igt_simple_init_parse_opts
This function allows simple tests to register additional command line options. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -162,6 +162,11 @@ bool igt_only_list_subtests(void);
|
||||
static void igt_tokencat(__real_main, __LINE__)(void) \
|
||||
|
||||
void igt_simple_init(int argc, char **argv);
|
||||
void igt_simple_init_parse_opts(int argc, char **argv,
|
||||
const char *extra_short_opts,
|
||||
struct option *extra_long_opts,
|
||||
const char *help_str,
|
||||
igt_opt_handler_t extra_opt_handler);
|
||||
|
||||
/**
|
||||
* igt_simple_main:
|
||||
|
||||
Reference in New Issue
Block a user