[PATCH i-g-t v1 0/2] RFC: Bash autocompletion feature for igt

Jan Sokolowski jan.sokolowski at intel.com
Mon Jul 14 12:01:28 UTC 2025


This is a RFC for a feature that I've found to be useful not only
for me, but according to the rest of my team, to be of use to other
igt developers and users, that is, bash autocompletion feature.

This RFC currently only has an incomplete support for igt tests,
and supports following suggestions: --*, --run-subtest *, --device *.

Before I'll continue with the work, I'd like to ask what are your
opinions on this feature? Which tools other than tests could benefit
from having autocompletion added? 

Signed-off-by: Jan Sokolowski <jan.sokolowski at gmail.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>

Jan Sokolowski (2):
  RFC /scripts/bash-autocomplete: Create bash autocompletion scripts for
    tests
  meson: Add bash autocompletion install step

 meson_options.txt                             |  5 ++
 .../install_completions.sh                    | 47 +++++++++++++++++++
 .../uninstall_completions.sh                  | 10 ++++
 scripts/meson.build                           |  4 ++
 4 files changed, 66 insertions(+)
 create mode 100755 scripts/bash_autocompletion/install_completions.sh
 create mode 100755 scripts/bash_autocompletion/uninstall_completions.sh

-- 
2.34.1



More information about the igt-dev mailing list