From patchwork Fri Jun 8 12:32:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 138041 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp897352lji; Fri, 8 Jun 2018 06:49:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLrzcz6TbMRs2u1FomUi+dtjZYv2h/Z50tvaSUikJAVZhwYvlTvcPoYbR0qivWngt4+La21 X-Received: by 2002:a0c:94fa:: with SMTP id k55-v6mr5745413qvk.20.1528465766093; Fri, 08 Jun 2018 06:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528465766; cv=none; d=google.com; s=arc-20160816; b=sP0eCg8a1g6MKmqPhV4GtBA9oiTaow7mhGX9YAgd89JGi9nU4wjTjcV9MZFdm6B9kl 5eYxi62v3uqPH8S3mx8SugBHDd0l8IPbMfcsRxTAowZWonblYqscMb18CMxqy9Mf/JYe axZrtZc/NcaSZh5zEH3tnzZ0KhM/zb+DLio+EjDUYS9qVNMd5phGWhwMDWSmfRNftmMT +GYeFyNtVEkKt7QvV9f1j40GZ5SyeYpDXOpE/g/OWtLzPph/fNdCIgcHDiU2ORmU8L1Z fs9yV/r78rX9QmjgAeYnh+tOYaKXuOZ0AFgGkh+ZgeScNLOS8Id2xcksRm9vUrk33v/w 786A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=nFxC+Kykf4Ed3rN4G5hqTiqimTD5s9fqxQMtI9cAtlM=; b=ljlFtH/IQUX9NN7fcZ0etc2QI42qUON3SI26+Jt4SAfuPIp5i0KP6vU5GzYTBzd4YK E7tsKdmz6bVC6rXUSuGq6c6eeWcEyenKHXF75cbkIGOZmLrZ9beU2deJeDmxvoiC0IoD ZU0JJbaJP5Kr4vvB4wlzeoAJxeo/VzTZUeL6RRyuud+1rokK71ooxlCx++L/v7KLLlED axXSa4GjTwK9nUQ3yjNIMgiD6MmWMRtvSTzPKnD21no6x0ofh+FP6XYOI66ESFd9JG1Z AkswTbnFjInt1Sr2aGv3CK+1nD5WFmcMycISPZSMBqB1i13SDBybuzDinAe+4w7jH0Ic 1Scw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=USG/xS2U; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id w17-v6si113127qtk.146.2018.06.08.06.49.25 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:49:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=USG/xS2U; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRHld-00053V-GW for patch@linaro.org; Fri, 08 Jun 2018 09:49:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGpO-0005uf-Ls for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGpL-0006dB-Gh for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:14 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:40362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGpL-0006cj-9s for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:11 -0400 Received: by mail-wm0-x234.google.com with SMTP id n5-v6so3488546wmc.5 for ; Fri, 08 Jun 2018 05:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nFxC+Kykf4Ed3rN4G5hqTiqimTD5s9fqxQMtI9cAtlM=; b=USG/xS2U1qghFa5FFeeY52HAAax7MEPMVZ7Ouyi5Kfi+tuQNvHcaQV+1e8WqunZD9p R2PEfg61QPwj8pDAlAYctOysT0xLRI7GH17xdgK15ku3abwfoDT3ha9e+keEmtlbwKU3 NojYm9ue5gmRqC8Laf9ei4O4O9U9Pz6KevE9E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nFxC+Kykf4Ed3rN4G5hqTiqimTD5s9fqxQMtI9cAtlM=; b=XDjcpaLpnk5K+Ora495fY67V5oqpUmk5TgfXFxR15vr7SxwcbCK2uFJZFyYqg5AKWf Toua2Is6ldwXd3TLLsG6iBB+3nJjEFlCUX8HtmMNcFZ18eg3RFFuU9t4pjZPRG8h+RgO DDxHbTiBy9wkCMjKggaI/PQVRtL9H8978vX05F6WrupvlXtjXSrCP9wmF1qyxjacL8uI eczPOfYKEugRr+2cp4FsN4LYPxabX1FwjBcCNity30OxybOWf99BpVUsWr0bFytfaOQg 6wkJS5HNMlFpWBJGMf264+rUgvsv32r/FYFZVqXjpK3tHjZQ9+p8fdx8r4tmvo0V0eo8 puUg== X-Gm-Message-State: APt69E1Ny6IWEVQ0jU3pBeptLLINtwTPWAmI8tmAbsOQOAeM8t8MWpnn om+TTcOUKKYGzG3kArmgqxNgzg== X-Received: by 2002:a1c:ed07:: with SMTP id l7-v6mr1586280wmh.139.1528462150119; Fri, 08 Jun 2018 05:49:10 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x5-v6sm27227230wrr.3.2018.06.08.05.49.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:49:08 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 1D8993E0CBB; Fri, 8 Jun 2018 13:33:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= 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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:52 +0100 Message-Id: <20180608123307.24773-35-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 Subject: [Qemu-devel] [PATCH v6 34/49] tests/tcg: enable building for m68k X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As before, using Debian SID compilers. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- v5 - add EXTRA_RUNS for mmap tests --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-m68k-cross.docker | 12 ++++++++++++ tests/tcg/m68k/Makefile.include | 2 ++ tests/tcg/m68k/Makefile.target | 7 +++++++ 4 files changed, 22 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-m68k-cross.docker create mode 100644 tests/tcg/m68k/Makefile.include create mode 100644 tests/tcg/m68k/Makefile.target -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index a83e979e6d..b1ae717010 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -71,6 +71,7 @@ docker-image-debian-sid: NOCACHE=1 docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid +docker-image-debian-m68k-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-m68k-cross.docker b/tests/docker/dockerfiles/debian-m68k-cross.docker new file mode 100644 index 0000000000..21ba3b0132 --- /dev/null +++ b/tests/docker/dockerfiles/debian-m68k-cross.docker @@ -0,0 +1,12 @@ +# +# Docker cross-compiler target +# +# This docker target builds on the debian sid base image which +# contains cross compilers for Debian "ports" targets. +# +FROM qemu:debian-sid + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-m68k-linux-gnu \ + libc6-dev-m68k-cross diff --git a/tests/tcg/m68k/Makefile.include b/tests/tcg/m68k/Makefile.include new file mode 100644 index 0000000000..cd7c6bf50d --- /dev/null +++ b/tests/tcg/m68k/Makefile.include @@ -0,0 +1,2 @@ +DOCKER_IMAGE=debian-m68k-cross +DOCKER_CROSS_COMPILER=m68k-linux-gnu-gcc diff --git a/tests/tcg/m68k/Makefile.target b/tests/tcg/m68k/Makefile.target new file mode 100644 index 0000000000..62f109eef4 --- /dev/null +++ b/tests/tcg/m68k/Makefile.target @@ -0,0 +1,7 @@ +# -*- Mode: makefile -*- +# +# m68k specific tweaks - specifically masking out broken tests +# + +# On m68k Linux supports 4k and 8k pages (but 8k is currently broken) +EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192