qemu/tests/docker
Alex Bennée 4112aff7cd tests/docker: upgrade docker.py to python3
The recent podman changes (9459f75413) imported enum which is part
of the python3 standard library but only available as an external
library for python2. This causes problems on the fairly restricted
environment such as shippable. Lets bite the bullet and make the
script a fully python3 one. To that end:

  - drop the from __future__ import (we are there now ;-)
  - avoid the StringIO import hack
  - be consistent with the mode we read/write dockerfiles
  - s/iteritems/items/
  - ensure check_output returns strings for processing

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-09-02 10:52:22 +01:00
..
dockerfiles tests/docker: Refresh APT cache before installing new packages on Debian 2019-07-23 17:19:11 +01:00
common.rc docker: gracefully skip check_qemu 2018-07-24 11:45:25 +01:00
docker.py tests/docker: upgrade docker.py to python3 2019-09-02 10:52:22 +01:00
Makefile.include tests/docker: add podman support 2019-08-22 17:30:25 +04:00
run tests/docker: invoke the DEBUG shell with --noprofile/--norc 2019-07-23 15:53:25 +01:00
test-block docker: test-block: Don't continue if build fails 2017-09-29 11:14:15 +08:00
test-build docker: add installation to build tests 2017-09-29 11:14:14 +08:00
test-clang docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-debug docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-full docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-mingw tests/docker: Let the test-mingw test generate a NSIS installer 2019-07-23 15:53:25 +01:00
test-misc tests/docker: add test-misc for building tools & docs 2019-07-23 15:53:25 +01:00
test-quick docker: move make check into check_qemu helper 2018-07-24 11:45:25 +01:00
test-unit docker: add test-unit runner 2018-07-24 11:45:25 +01:00
travis docker: Fix travis script unable to find source dir 2019-03-25 10:35:42 +00:00
travis.py docker: Fix travis.py parser and misc change 2019-03-25 10:35:42 +00:00