diff options
author | Markus Armbruster | 2021-09-22 14:56:19 +0200 |
---|---|---|
committer | Markus Armbruster | 2021-09-27 08:23:25 +0200 |
commit | f333681c6e277004796b0bed808697da1280d140 (patch) | |
tree | 5dc9bd53716c0b6d55bc3e305f9c2dac21d7f16a /scripts/qapi/schema.py | |
parent | tests/qapi-schema: Use Python OSError instead of outmoded IOError (diff) | |
download | qemu-f333681c6e277004796b0bed808697da1280d140.tar.gz qemu-f333681c6e277004796b0bed808697da1280d140.tar.xz qemu-f333681c6e277004796b0bed808697da1280d140.zip |
tests/qapi-schema: Make test-qapi.py -u work when files are absent
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 <armbru@redhat.com>
Message-Id: <20210922125619.670673-3-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions