summaryrefslogtreecommitdiffstats
path: root/tests/check-qom-interface.c
diff options
context:
space:
mode:
authorWainer dos Santos Moschetta2019-03-29 22:08:01 +0100
committerAlex Bennée2019-06-12 18:53:22 +0200
commit3ad3e36e1469a37740b5ec41d8d917c5ecd40c16 (patch)
tree64701c27cc7e56f3b8e81e450041f7728f9d4131 /tests/check-qom-interface.c
parenttests/vm: Use python configured on build (diff)
downloadqemu-3ad3e36e1469a37740b5ec41d8d917c5ecd40c16.tar.gz
qemu-3ad3e36e1469a37740b5ec41d8d917c5ecd40c16.tar.xz
qemu-3ad3e36e1469a37740b5ec41d8d917c5ecd40c16.zip
tests/vm: Port basevm to Python 3
Fixed tests/vm/basevm.py to run with Python 3: - hashlib.sha1() requires an binary encoded object. - uses floor division ("//") (PEP 238). - decode bytes to unicode when needed. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190329210804.22121-3-wainersm@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/check-qom-interface.c')
0 files changed, 0 insertions, 0 deletions