This series adds a new "docker" make target family to run tests in created docker containers.
To begin with, this can be a place to store standard env/command combinations to build and test QEMU. Secondly, CI usually provides "docker" capability (such as travis [1]), where we define standard/repeatable test environments, and run tests in them. However, what tests to cover is better maintained in-tree, in order to keep in sync with the code development. Lastly, this makes it very simple for developers to replicate such tests themselves. [1]: https://docs.travis-ci.com/user/docker/ Fam Zheng (4): tests: Introduce Docker based tests tests: Add clang docker test tests: Add mingw 32/64 cross compiling tests: Add travis container test case Makefile | 33 ++++++++++++++++++++++++++++++++- tests/docker/basic.sh | 11 +++++++++++ tests/docker/centos6.docker | 5 +++++ tests/docker/clang.sh | 16 ++++++++++++++++ tests/docker/fedora22.docker | 6 ++++++ tests/docker/mingw.sh | 14 ++++++++++++++ tests/docker/run | 20 ++++++++++++++++++++ tests/docker/travis.py | 40 ++++++++++++++++++++++++++++++++++++++++ tests/docker/travis.sh | 10 ++++++++++ tests/docker/ubuntu.docker | 9 +++++++++ 10 files changed, 163 insertions(+), 1 deletion(-) create mode 100755 tests/docker/basic.sh create mode 100644 tests/docker/centos6.docker create mode 100755 tests/docker/clang.sh create mode 100644 tests/docker/fedora22.docker create mode 100755 tests/docker/mingw.sh create mode 100755 tests/docker/run create mode 100755 tests/docker/travis.py create mode 100755 tests/docker/travis.sh create mode 100644 tests/docker/ubuntu.docker -- 2.4.3