From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyXY-000160-SW for qemu-devel@nongnu.org; Wed, 03 Feb 2016 09:36:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQyXT-0000Bo-7y for qemu-devel@nongnu.org; Wed, 03 Feb 2016 09:36:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyXS-0000BZ-Sc for qemu-devel@nongnu.org; Wed, 03 Feb 2016 09:36:11 -0500 From: Fam Zheng Date: Wed, 3 Feb 2016 22:36:00 +0800 Message-Id: <1454510164-6278-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/4] tests: Introducing docker tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, jsnow@redhat.com, stefanha@redhat.com, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , david@gibson.dropbear.id.au 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