From: "Alex Bennée" <alex.bennee@linaro.org>
To: cota@braap.org, famz@redhat.com, berrange@redhat.com,
f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com,
aurelien@aurel32.net, agraf@suse.de
Cc: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
qemu-arm@nongnu.org (open list:ARM)
Subject: [PATCH v5 26/49] tests/tcg: enable building for ARM
Date: Fri, 25 May 2018 15:19:00 +0100 [thread overview]
Message-ID: <20180525141903.6257-5-alex.bennee@linaro.org> (raw)
In-Reply-To: <20180525141903.6257-1-alex.bennee@linaro.org>
This allows us to use the docker cross compiler image to build these
tests.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
v5
- add EXTRA_RUNS for mmap tests
---
tests/tcg/arm/Makefile.include | 8 ++++++++
tests/tcg/arm/Makefile.target | 5 ++++-
2 files changed, 12 insertions(+), 1 deletion(-)
create mode 100644 tests/tcg/arm/Makefile.include
diff --git a/tests/tcg/arm/Makefile.include b/tests/tcg/arm/Makefile.include
new file mode 100644
index 0000000000..8e7eac008f
--- /dev/null
+++ b/tests/tcg/arm/Makefile.include
@@ -0,0 +1,8 @@
+# Makefile.include for all ARM targets
+#
+# We don't have any bigendian build tools so we only use this for armhf
+
+ifeq ($(TARGET_NAME),arm)
+DOCKER_IMAGE=debian-armhf-cross
+DOCKER_CROSS_COMPILER=arm-linux-gnueabihf-gcc
+endif
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
index bc6962ecc6..0312293dca 100644
--- a/tests/tcg/arm/Makefile.target
+++ b/tests/tcg/arm/Makefile.target
@@ -1,6 +1,6 @@
# -*- Mode: makefile -*-
#
-# ARM - included from tests/tcg/Makefile.target
+# ARM - included from tests/tcg/Makefile
#
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
@@ -11,3 +11,6 @@ VPATH += $(ARM_SRC)
hello-arm: CFLAGS+=-marm -ffreestanding
hello-arm: LDFLAGS+=-nostdlib
+
+# On ARM Linux only supports 4k pages
+EXTRA_RUNS+=run-test-mmap-4096
--
2.17.0
next prev parent reply other threads:[~2018-05-25 14:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180525133851.27161-1-alex.bennee@linaro.org>
[not found] ` <20180525141903.6257-1-alex.bennee@linaro.org>
2018-05-25 14:18 ` [PATCH v5 25/49] tests/tcg: move ARM specific tests into subdir Alex Bennée
2018-05-25 14:19 ` Alex Bennée [this message]
2018-05-25 14:19 ` [PATCH v5 27/49] tests/tcg/arm: fix up test-arm-iwmmxt test Alex Bennée
2018-05-25 14:19 ` [PATCH v5 28/49] tests/tcg: enable building for AArch64 Alex Bennée
2018-05-25 14:19 ` [PATCH v5 29/49] tests/tcg/arm: add fcvt test cases for AArch32/64 Alex Bennée
[not found] ` <20180525141915.6497-1-alex.bennee@linaro.org>
2018-05-25 14:19 ` [PATCH v5 49/49] tests/tcg: add run, diff, and skip helper macros Alex Bennée
2018-05-25 15:05 ` [PATCH v5.1 " Alex Bennée
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=20180525141903.6257-5-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=balrogg@gmail.com \
--cc=berrange@redhat.com \
--cc=cota@braap.org \
--cc=f4bug@amsat.org \
--cc=famz@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).