command line parsing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | lib: warn when attempting to run an unknown subtestlib/ | +15 | 1 reply | |
| 2/8 | tests: remove unused getopt header includeslib/ lib/ lib/ +11 more | +0 | 1 reply | |
| 3/8 | lib: move option parsing into common_initlib/ | +74 | 3 replies | |
| 4/8 | lib: add igt_simple_init_parse_optslib/ lib/ | +27 | 1 reply | |
| 5/8 | lib: don't ignore unknown options in multi-testslib/ | +1 | 1 reply | |
| 6/8 | tests: convert simple tests to use igt_simple_init_parse_optslib/ tests/ tests/ +2 more | +98 | 5 replies | |
| 7/8 | lib: always warn about unknown optionslib/ | +4 | 1 reply | |
| 8/8 | lib: add a command line option to enable debug output in testslib/ | +7 | 1 reply |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Tim Gore |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | |
| 7/8 | R-b |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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