qapi: Enforce command naming rules
Command names should be lower-case. Enforce this. Fix the fixable offenders (all in tests/), and add the remainder to pragma command-name-exceptions. Signed-off-by:Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-25-armbru@redhat.com> Reviewed-by:
Eric Blake <eblake@redhat.com>
Showing
- docs/devel/qapi-code-gen.txt 6 additions, 2 deletionsdocs/devel/qapi-code-gen.txt
- qapi/pragma.json 18 additions, 0 deletionsqapi/pragma.json
- scripts/qapi/expr.py 3 additions, 2 deletionsscripts/qapi/expr.py
- scripts/qapi/parser.py 3 additions, 0 deletionsscripts/qapi/parser.py
- scripts/qapi/source.py 2 additions, 0 deletionsscripts/qapi/source.py
- tests/qapi-schema/qapi-schema-test.json 12 additions, 9 deletionstests/qapi-schema/qapi-schema-test.json
- tests/qapi-schema/qapi-schema-test.out 13 additions, 13 deletionstests/qapi-schema/qapi-schema-test.out
- tests/unit/test-qmp-cmds.c 5 additions, 5 deletionstests/unit/test-qmp-cmds.c
Loading
Please register or sign in to comment