Re: [PATCH 2/2] tests/qapi-schema: Make test-qapi.py -u work when files are absent

2021-09-22 Thread John Snow
On Wed, Sep 22, 2021 at 8:56 AM Markus Armbruster wrote: > test-qapi.py -u updates the expected files. Since it fails when they > are absent, users have to create them manually before they can use > test-qapi.py to fill in the contents, say for a new test. Silly. > Improve -u to create them. >

[PATCH 2/2] tests/qapi-schema: Make test-qapi.py -u work when files are absent

2021-09-22 Thread Markus Armbruster
test-qapi.py -u updates the expected files. Since it fails when they are absent, users have to create them manually before they can use test-qapi.py to fill in the contents, say for a new test. Silly. Improve -u to create them. Signed-off-by: Markus Armbruster ---