From patchwork Fri May 25 14:19:08 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: 136910 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3660548lji; Fri, 25 May 2018 07:25:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIO3fuVs5Y2Rl6V6RAqZiGHZOPrBOOF6/oXNBghCOsBDlVWAL5GxzDJz96P1XcaBkXhs1Rm X-Received: by 2002:ac8:2b37:: with SMTP id 52-v6mr2393026qtu.97.1527258338610; Fri, 25 May 2018 07:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527258338; cv=none; d=google.com; s=arc-20160816; b=fO2wQUp8pyNkbiv/N773S1mdFUPmbVgn99Tzb6et5dtKii4+8ioMt8dbfIRfMrC9wE ZcAlv1R/FZ2K+BEcJ2grbuoTxAMKgmDNMd1p1W+fNObw+ZFhghB0aSGoEFrYXq9lc3iZ T/d74uzMvnFEbEnpSx8KV7l6iuAEN5DmLf2vfWlxK2RWbs9qIIOVtBIJ5iUydekUHe81 Osx9pLQSQ2Eu7STKUnKPDdw6B8zDJlUVGc6Aojtfie6IZdvTRoQ1/1iOm1LhkizkTAOU 45+xT2JWwYCd/Zsv18tcipQlTSaeRNDNs3wnqvavYrz4kjV0hJ6LWs3tTFTIgMMcWFb9 YelQ== 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=CwmUPvh0EVnpzo6WEx+YMD/jjCc406YUC453Zas0RZY=; b=jyMwRxg/gYDI55tSYgVHRv3dyLPezeZgHw83mFfHZtf+pErto1JfGO28P/f9yRbsY9 4BldbPlCAea5Cr5E1/tD0gwlh0pKzLPMxWz7dR4bbN8j5krBfCgaJEDJDmfxdLWV+iRD a049yxbDkT5fB89PcGsVzmSGpy2S3wY8WHVMNdztRJDx0NzQZKR4x0jZopNfjUBabIfy /zZXVXYmi5Lr8cSA53nWodd+eZn2ChUY5AsLe1lEPnYTgZCCH0HF83oQmEKLi5prTQnD ta31t+d3fBEdLpmOQWzx1PC11gJ/pdhe3YikPmOcx/C4gBVzzU3XoWIPHy3b5DxysJ31 7/ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hr1V2lZ4; 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 y63-v6si7334353qkd.278.2018.05.25.07.25.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:25:38 -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=hr1V2lZ4; 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]:44324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDf0-000601-2n for patch@linaro.org; Fri, 25 May 2018 10:25:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDZ1-00015i-He for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDZ0-0000V9-G9 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:27 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:36940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDZ0-0000TH-9k for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:26 -0400 Received: by mail-wr0-x22e.google.com with SMTP id i12-v6so9563279wrc.4 for ; Fri, 25 May 2018 07:19:26 -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=CwmUPvh0EVnpzo6WEx+YMD/jjCc406YUC453Zas0RZY=; b=hr1V2lZ4GKAhlJrDogJSdky8WIj+9Wzajg28DBekUSDoK5Rk8BMiBuLn2jb40D7534 xvi1kKwo8O6gbE4kP4/tXjsfvo2C+aygjj8DYHPrbN7s4uWQn9K/nrJonIwno+/82Pvj f753rnuaAPb2phpQyvYNFIt+q+kVHESTJzKDc= 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=CwmUPvh0EVnpzo6WEx+YMD/jjCc406YUC453Zas0RZY=; b=ET1Mgj2wMFVK0fZhA6CWJ2bZ60rPpnCGjiCsF0Va+rkT/13LBI6bT+oHeIIFghU6h/ YuLFW1P7q8AhQy340kfOLjAnpTD2M3P20bQQuCTD4q8zx5MEJkXem91ZpiwWPMOA5lrb 6447H5lUTAoCbc9qS3KDIzkXctoZ6QryVOT+XCi4gBnsGnhE0Kt1ZFOM4hJP4UNSpCGA S6AJjuj2V5IyWBWrGruLCDNbhBYurGk+5NZ9yZ0s3t+DRut0caoFiycRZ9U/gyyPSTWr wflhnjCKWCr1++z0oiPq1XDPYYyG7+qc5AzvRWm0641pu/D+tlBKhhEPc7lVCYqgjMgF CYXg== X-Gm-Message-State: ALKqPwc+1POvWFKbGtnug29EUXnahsO4Ko7pQnntc5I3opAnd9SbXry5 oXkra7CvLC/AdgeTNls0mW+atxE6rCw= X-Received: by 2002:adf:a54a:: with SMTP id j10-v6mr2722119wrb.155.1527257965235; Fri, 25 May 2018 07:19:25 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k126-v6sm12500332wmd.45.2018.05.25.07.19.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:14 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6BDB43E07B5; Fri, 25 May 2018 15:19:11 +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 Date: Fri, 25 May 2018 15:19:08 +0100 Message-Id: <20180525141910.6384-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141910.6384-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141910.6384-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:c0c::22e Subject: [Qemu-devel] [PATCH v5 37/49] 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org 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 --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-hppa-cross.docker | 12 ++++++++++++ tests/tcg/hppa/Makefile.include | 2 ++ tests/tcg/hppa/Makefile.target | 6 ++++++ 4 files changed, 21 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-hppa-cross.docker create mode 100644 tests/tcg/hppa/Makefile.include create mode 100644 tests/tcg/hppa/Makefile.target -- 2.17.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 5dc49c6a54..4200988d01 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -63,6 +63,7 @@ docker-image-debian-s390x-cross: docker-image-debian9 docker-image-debian-win32-cross: docker-image-debian8-mxe docker-image-debian-win64-cross: docker-image-debian8-mxe docker-image-debian-alpha-cross: docker-image-debian-sid +docker-image-debian-hppa-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Expand all the pre-requistes for each docker image and test combination 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