From patchwork Fri Jun 15 19:46:46 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: 10467623 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 65FBB60384 for ; Fri, 15 Jun 2018 20:35:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5920A28E63 for ; Fri, 15 Jun 2018 20:35:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CB9B28E64; Fri, 15 Jun 2018 20:35:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DCB3528E44 for ; Fri, 15 Jun 2018 20:35:57 +0000 (UTC) Received: from localhost ([::1]:49255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTvRs-0006lo-UO for patchwork-qemu-devel@patchwork.kernel.org; Fri, 15 Jun 2018 16:35:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuyG-0000bg-LY for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTuyF-0007ma-Bj for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:20 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:33603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTuyF-0007m7-5W for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:19 -0400 Received: by mail-wm0-x234.google.com with SMTP id z6-v6so7893405wma.0 for ; Fri, 15 Jun 2018 13:05:19 -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=mPb5cC3AY87Kl3RBVTs82z6MskrJGOk4WSVX3sv/4x4=; b=EuUpIUjmMNN1eEQyiCyq8sc27S/wBvf5ohSzFrCDqCCkgPKRhWgIimiX+Ve86b9y3e BsBbBYNco2riOZxZzjbIsoLa9DhOManocIRD4f2nfg1j91fIPfxefJozK+YHTqfM7tau 2MVR0UxyFp67olwdQz1tmlDafhcCJnlxIH14I= 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=mPb5cC3AY87Kl3RBVTs82z6MskrJGOk4WSVX3sv/4x4=; b=sKs5EifhQQp5fhpqOrfyh3Cq8w51p/vJXYUQMe3/J07xiZi7ZSHykHXp1iV9W3PeNr 3CvvY2Q7oMLqAEGXqGI0HR/aPLFixQW4Su6O+VwGMvHDmVZeX21S7JUJvSbkeW6z3pDf NgnngXJjviA/Ujl0cFYqakX7WpKwp0JltioMjFb5S+Zsz0jrXbAehHS1Kbh6u9aXt37P A04BA07yPqduUdk+KjX17NZQX7w8uYSARkAH1kbXVpeTQB+5INh9YZZuMlpy/z6UCmKo 6sgEsDuKSd+ZbvQY4nOlziJsl9vEFTYbL9YSbPUZxzgfbddsa9hG6SAk0FX025XKgB4i VjpQ== X-Gm-Message-State: APt69E1arrKBLdlRPHfkCFD596cOQgLe9F2abgn9y1syl6xJT9wZPSeS MCPxDUiN61kNnXmbJMTtDsYVwA== X-Google-Smtp-Source: ADUXVKLlCvFCFVKa18sucFYEmIWActzML3dEreGR9xmjiQHwStPug4zKPU93gRRaExfL9UI+78o6iA== X-Received: by 2002:a1c:33c4:: with SMTP id z187-v6mr2416731wmz.114.1529093118017; Fri, 15 Jun 2018 13:05:18 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i46-v6sm17667645wra.36.2018.06.15.13.05.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 13:05:14 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7C90A3E0E23; Fri, 15 Jun 2018 20:47:08 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:46 +0100 Message-Id: <20180615194705.28019-36-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-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 v7 35/54] 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=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 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