[Intel-gfx] [PATCH i-g-t 0/8] command line parsing
Thomas Wood
thomas.wood at intel.com
Wed Jul 23 12:57:47 CEST 2014
The following series attempts to standardise command line parsing and options
across the various types of tests. This allows all tests to respond to common
options such as --help and --debug, and also warn when unknown or invalid
options are used.
Thomas Wood (8):
lib: warn when attempting to run an unknown subtest
tests: remove unused getopt header includes
lib: move option parsing into common_init
lib: add igt_simple_init_parse_opts
lib: don't ignore unknown options in multi-tests
tests: convert simple tests to use igt_simple_init_parse_opts
lib: always warn about unknown options
lib: add a command line option to enable debug output in tests
lib/drmtest.c | 1 -
lib/igt_aux.c | 1 -
lib/igt_core.c | 184 ++++++++++++++++++++++++----------------
lib/igt_core.h | 6 ++
lib/rendercopy_gen6.c | 1 -
lib/rendercopy_gen7.c | 1 -
lib/rendercopy_gen8.c | 1 -
lib/rendercopy_i830.c | 1 -
lib/rendercopy_i915.c | 1 -
tests/gem_ctx_basic.c | 20 ++---
tests/gem_media_fill.c | 1 -
tests/gem_render_copy.c | 25 +++---
tests/gem_render_copy_redux.c | 1 -
tests/gem_render_linear_blits.c | 1 -
tests/gem_render_tiled_blits.c | 1 -
tests/gem_seqno_wrap.c | 82 +++++++-----------
tests/gem_stress.c | 105 +++++++++++------------
tests/gem_wait_render_timeout.c | 1 -
tests/kms_setmode.c | 1 -
tests/pm_rps.c | 1 -
20 files changed, 215 insertions(+), 221 deletions(-)
--
1.9.3
More information about the Intel-gfx
mailing list