From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Fam Zheng" <fam@euphon.net>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Cleber Rosa" <crosa@redhat.com>
Subject: [Qemu-devel] [PATCH 3/4] tests/docker: Add test-acceptance runner
Date: Mon, 19 Aug 2019 01:18:26 +0200 [thread overview]
Message-ID: <20190818231827.27573-4-philmd@redhat.com> (raw)
In-Reply-To: <20190818231827.27573-1-philmd@redhat.com>
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é <philmd@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é <philmd@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
next prev parent reply other threads:[~2019-08-18 23:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-18 23:18 [Qemu-devel] [PATCH 0/4] docker: Update Travis-CI image to run acceptance tests Philippe Mathieu-Daudé
2019-08-18 23:18 ` [Qemu-devel] [PATCH 1/4] tests/docker: Use one package per line to improve readability Philippe Mathieu-Daudé
2019-08-19 14:52 ` Cleber Rosa
2019-08-18 23:18 ` [Qemu-devel] [PATCH 2/4] tests/docker: update our Travis image to run acceptance tests locally Philippe Mathieu-Daudé
2019-08-19 16:00 ` Cleber Rosa
2019-08-18 23:18 ` Philippe Mathieu-Daudé [this message]
2019-08-20 13:31 ` [Qemu-devel] [PATCH 3/4] tests/docker: Add test-acceptance runner Cleber Rosa
2019-12-03 13:41 ` Alex Bennée
2020-02-24 12:23 ` Philippe Mathieu-Daudé
2019-08-18 23:18 ` [Qemu-devel] [PATCH 4/4] tests/docker: Use Travis-CI default environment variables Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190818231827.27573-4-philmd@redhat.com \
--to=philmd@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=fam@euphon.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.