Add a runner script to be able to run acceptance tests within Docker images. We can now reproduce Travis CI builds locally (and debug them!).
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> --- tests/docker/test-acceptance | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/docker/test-acceptance diff --git a/tests/docker/test-acceptance b/tests/docker/test-acceptance new file mode 100755 index 0000000000..84edaa676c --- /dev/null +++ b/tests/docker/test-acceptance @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# Compile default Travis-CI target and run Avocado acceptance tests +# +# Copyright (c) 2019 Red Hat Inc. +# +# Authors: +# Philippe Mathieu-Daudé <phi...@redhat.com> +# +# This work is licensed under the terms of the GNU GPL, version 2 +# or (at your option) any later version. See the COPYING file in +# the top-level directory. + +. common.rc + +cd "$BUILD_DIR" + +DEF_TARGET_LIST="x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu" +TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ +build_qemu +check_qemu check-acceptance -- 2.20.1