From patchwork Tue Jun 19 15:44:14 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: 139186 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5387471lji; Tue, 19 Jun 2018 09:05:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIE+pw8hlauzHWdjpK7M7JLyQTX1NvYJB4h4A3uY88SBqpQIMbAts/lrw57VpzwvjdHtgEj X-Received: by 2002:a37:670c:: with SMTP id b12-v6mr14093777qkc.108.1529424302951; Tue, 19 Jun 2018 09:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424302; cv=none; d=google.com; s=arc-20160816; b=NUiQDWmDtnbQhEgotnCuBu9NMz+EedbKWSBJhoOCgNABJXArK4SEXA74rl5zArLN9w aDZJnke19RTWLKzRthq9JicDkd4ENLuxTI+qWpJFyRsy9ZZOxVKOt6remNXs7TJWNSzz OA3wLzGmnzHg0If9qfuoMzxy1w1Y2qG9BGCTdvMREzjPhOHoBiyRWgd2HCqMfIN3nybJ ZmGhk3UEXZrxr8W5mcBdCrDos/TwkEXVQibSOsbmkihh8rcv2TPa6DMn9+U/ZplXEpou sqsGIqkMIBscb7zcfkew1e5XXGgu85T3f3JCYCPBDX34ZEpcxvEWewWx0Fr7sKfB+ohY i05Q== 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=PKR2hM0SeEZFZg8IAaaF11ylImD/LFOeEu+JAjYmvQU=; b=AiWWqZ0EBLFmPl7DcgrQDYwp+I1byfAU0kFSUWM+L4StG0krDw1/7BbLpeDkd8jbKG 3eFsHFZLrmPRoqgiupLg8USuVzODmaNM7DHMx3LtujWVxF3ch7it+SalAQJmJNOUcJr3 Im9tYJl4G8CG1wEYX7Te6InnRwq7Vm5yibDUNbgHH9yCYKnlqpzk1zzAMJ3oaAmRfxkx LWsQ1wz2CVEmyVepbIepA4iZJkXfF44+qXi9r3aEWAshupno6L42MiphQNOupAQRtOAt cb+Vae4b/cEYEC1vQqGdhBQTtvZdhMd1a76Vpsfl5xHu11jojCWGC5+I/+5xAgwRqfuF lPTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CTYD3lty; 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 a19-v6si28513qvm.282.2018.06.19.09.05.02 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:05:02 -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=CTYD3lty; 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]:43440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJ7u-0005dn-E7 for patch@linaro.org; Tue, 19 Jun 2018 12:05:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvc-0004Mx-G0 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvL-0001wg-Re for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:20 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:52954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIvL-0001vl-Fx for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:03 -0400 Received: by mail-wm0-x22f.google.com with SMTP id p126-v6so1223244wmb.2 for ; Tue, 19 Jun 2018 08:52:03 -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=PKR2hM0SeEZFZg8IAaaF11ylImD/LFOeEu+JAjYmvQU=; b=CTYD3ltyEQtR+rJaC2k5I7a4gTDn6kELYkxMMCTGSzx8LuB+rLjtjgwXiX7TY4wXuX LCuQVCcMJqm6B2lN5wiewQcmlYo/uuGsenVFc3VLg0E4HJ7iKEvscbo8UnVfm+YFhGDr wcJtPimM3QJnj9xoPyR8LAR8ybM/tCN9/tC/o= 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=PKR2hM0SeEZFZg8IAaaF11ylImD/LFOeEu+JAjYmvQU=; b=sakfLlZCMsgzvF+GsiMi2NAy9qUuwiLweU/rb/kkezUAv0mtB96v3/R3yVnYPMmFlu znZgRwo9UcWopt5hWILPx6KNW1XTp56y9GU9GNz6xc3VXWb2/Si419lX/iFIV30JP9Q4 XHh57X8fyfyRY022AlwRs64cZcPBOTniC/ds0opk1sBh/sCLvEAAh5RVTkLisOmc42ON YLcybzLj+miGfB+hykpK5oQf+qntzFrdagpgKMsZcg9HRZ6GlBdSCrB6FTTh+u5O8rNs YgGNubGJ5kJ2Uz7B63ecze8SkC8CvVhwdGz6Y97VUltBtyN/q63Q3CmmMVLGki686yJx SEew== X-Gm-Message-State: APt69E0tYA7/nTlNee+vMzKYnfX+hcxj3Xd/MhpDIb2D3F3xwi6HsSGD oCwnlAMtaPKztdtThdO9/MSWXA== X-Received: by 2002:a1c:8301:: with SMTP id f1-v6mr13411593wmd.17.1529423522241; Tue, 19 Jun 2018 08:52:02 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b190-v6sm597944wma.24.2018.06.19.08.51.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:57 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 95F923E0D8C; Tue, 19 Jun 2018 16:44:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:14 +0100 Message-Id: <20180619154435.18898-36-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-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::22f Subject: [Qemu-devel] [PULL 35/56] tests/tcg: enable building for HPPA 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- v5 - add EXTRA_RUNS for mmap tests -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 8c24f8807e..65e3dee741 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -71,6 +71,7 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe 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-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-hppa-cross.docker b/tests/docker/dockerfiles/debian-hppa-cross.docker new file mode 100644 index 0000000000..ad443defac --- /dev/null +++ b/tests/docker/dockerfiles/debian-hppa-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-hppa-linux-gnu \ + libc6-dev-hppa-cross diff --git a/tests/tcg/hppa/Makefile.include b/tests/tcg/hppa/Makefile.include new file mode 100644 index 0000000000..da2353430e --- /dev/null +++ b/tests/tcg/hppa/Makefile.include @@ -0,0 +1,2 @@ +DOCKER_IMAGE=debian-hppa-cross +DOCKER_CROSS_COMPILER=hppa-linux-gnu-gcc diff --git a/tests/tcg/hppa/Makefile.target b/tests/tcg/hppa/Makefile.target new file mode 100644 index 0000000000..8bf01966bd --- /dev/null +++ b/tests/tcg/hppa/Makefile.target @@ -0,0 +1,6 @@ +# -*- Mode: makefile -*- +# +# HPPA specific tweaks - specifically masking out broken tests + +# On parisc Linux supports 4K/16K/64K (but currently only 4k works) +EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-16384 run-test-mmap-65536