Skip to content

command line parsing

Thomas Wood intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib: warn when attempting to run an unknown subtestlib/igt_core.c+15 -31 reply
2/8tests: remove unused getopt header includeslib/drmtest.c lib/igt_aux.c lib/rendercopy_gen6.c +11 more+0 -141 reply
3/8lib: move option parsing into common_initlib/igt_core.c+74 -443 replies
4/8lib: add igt_simple_init_parse_optslib/igt_core.c lib/igt_core.h+27 -01 reply
5/8lib: don't ignore unknown options in multi-testslib/igt_core.c+1 -121 reply
6/8tests: convert simple tests to use igt_simple_init_parse_optslib/igt_core.h tests/gem_ctx_basic.c tests/gem_render_copy.c +2 more+98 -1355 replies
7/8lib: always warn about unknown optionslib/igt_core.c+4 -231 reply
8/8lib: add a command line option to enable debug output in testslib/igt_core.c+7 -11 reply

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchTim Gore
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/8] command line parsing

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(-)
Signature · 1 line
1.9.3