From patchwork Fri Jun 8 12:32:51 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: 138007 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp866762lji; Fri, 8 Jun 2018 06:20:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKGsRmT6+GypxyYr6aJyUCjuL+mGm1mY9+UuyYqroZlNpDXnyYsLTmoLZgXz7XZi7s2f04Y X-Received: by 2002:a37:28c4:: with SMTP id o65-v6mr5266262qko.200.1528464011892; Fri, 08 Jun 2018 06:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528464011; cv=none; d=google.com; s=arc-20160816; b=oGC5so7ryR/CHb/bwrJ8ENGoHInYoEG2WddgVN4SCXOFRjWkMomV+A4IaTLah2hWHA tOVsZpvGNdUE/V3vuSq9RJTSfJ2bga9GtfdVcQiWbGxgbBSJJialFlvNrrPC3qGnIeon grOX3wlam+9oZ/0rSae5TYoyAMtx/RhrSgdYNzudpcAzrCpWFi+zC8l3VcjaIBmtibNp GdSD4uGNm+g2Foa1gk5oX9ge4tPj7nQNy/Omw/AhrH+qcMrUsXH3vTvg51up0tx/lxM3 Bq5ClTrHQkQeBtpNSrLKmK7SULTzCdWlRfaFqy1uzGjLjON+UsXyBQvwJ1+3nJ0EQEo7 ZQsQ== 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=uzfKRKEA2lty1/AtYwfNV2MGUI1moP8Jvs5ba9+zCh0=; b=K8+67u6Il+W7862WhtrHgTtNq2o9F2KtUhzGX4mruO3onekOvwlfU6Z5WFnp2UmpJO z/ZQGdM6pUQr8REyX2asE4CWhg0JBGJmvZSYUeOnQGpZxlhv4uNcO0Sy4cIbMUTlZMjl LiQ+FO434BKbth6Ey/kdOz2nlKCxlq9tWxqTdlW0D+/Kg6cjx4k6LeMzPe2slA0OhmfT T35G3cyTpdpzXJ8V29TerAzTBW4Bhaf/Bt03TES07D5fH8YRbHVwOZDoQx90ImD9ynTm FeIF+KDlVsT0jCVe9V1dCUS/+b6BfRRKJLPYtwvrWbPDgIArAM/JmLts2r+AxNLVFCSk 83SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DPSAgP68; 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 d192-v6si9752348qkb.390.2018.06.08.06.20.11 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:20:11 -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=DPSAgP68; 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]:35613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRHJL-0006Bm-79 for patch@linaro.org; Fri, 08 Jun 2018 09:20:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGfj-0005mn-Ij for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGfe-0000th-O7 for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:15 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:37556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGfe-0000tH-Ge for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:10 -0400 Received: by mail-wm0-x22e.google.com with SMTP id r125-v6so3449089wmg.2 for ; Fri, 08 Jun 2018 05:39:10 -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=uzfKRKEA2lty1/AtYwfNV2MGUI1moP8Jvs5ba9+zCh0=; b=DPSAgP68vU01qWvzOiP68VdaTpkHXdefu+YigqrDXwtqs9IOYGz5fWchJVFT07ulnK dx5qOxLZYJweJ0QDPSFVGaIZSFMuCVCfh+r2hU/Chhmds57qfpGDkBFPG97C0W2ej0fF ZsNRppY9eaF5g6YzpiF9Be93Yng5T1/2vPNes= 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=uzfKRKEA2lty1/AtYwfNV2MGUI1moP8Jvs5ba9+zCh0=; b=BiO7RzQ610Y4PZrCQ/KZPqsfyuBqfbfLy4qN4Bxq42lu1CxDmWKcAPvx3E0/EtMi8J RcOk5ZJJ8losv3BbQV9dwkxXZ9KhQoHtZA6JwHgsCMsFxh6Cr76rRgY64WhcsxDAyxDH O7sgURYIOXYfbvcSZZmJ7NJGAui9g0pGsYJeRrk2l+Rnf6rXLWk7i/QJrfVJWJ0Gv4FT duwIZ43Wf3yEDOZ8T4dBbSXkePJrun4Bb5Jtl7Mj8uFb5+ee7ycakIO7pixIv3h0gYcP W/IsuAAIse1APPsBKUMtFnuwv90EytXJr9mEKtCwWG5lFYrn3UHX2n6b7C5ImsTWmSys 3q4Q== X-Gm-Message-State: APt69E1i9jPfl8lalhUlwLzqnoyJnjw2haUEaaY1MtXsEHKv6UhU87b0 kj1hPF8FMGWOYmuPj1+0leSP6w== X-Received: by 2002:a1c:45db:: with SMTP id l88-v6mr1365097wmi.19.1528461549378; Fri, 08 Jun 2018 05:39:09 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 203-v6sm2465368wmp.23.2018.06.08.05.39.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:39:08 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 070223E0CA0; 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:51 +0100 Message-Id: <20180608123307.24773-34-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::22e Subject: [Qemu-devel] [PATCH v6 33/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.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 1a4664c04e..a83e979e6d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -70,6 +70,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