From patchwork Mon Aug 17 14:35:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 276333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED344C433DF for ; Mon, 17 Aug 2020 14:42:01 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B2FEC20729 for ; Mon, 17 Aug 2020 14:42:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SnM2WhZC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2FEC20729 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7gKl-0002cL-Py for qemu-devel@archiver.kernel.org; Mon, 17 Aug 2020 10:42:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7gGZ-0003Au-3e for qemu-devel@nongnu.org; Mon, 17 Aug 2020 10:37:39 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7gGX-00062A-JD for qemu-devel@nongnu.org; Mon, 17 Aug 2020 10:37:38 -0400 Received: by mail-wr1-x441.google.com with SMTP id r2so15265574wrs.8 for ; Mon, 17 Aug 2020 07:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wCwinYbY8KogL6MVGmLHlxl2ZdviDPrAvyQ0cEAXXVE=; b=SnM2WhZCF7UbZWerxNmXCHsmOIUGopXrFz4dEFHx8gOubTmFx/O8Y7ReK0lKwqr2tI WGP/09NTZ3qFYWhbCZSlMlBflwb6AlmFiAHCjYYXl6SEpyTJiZgD+YFvi48A7lAYzseY 0lSBVSInKfN/DWvRhFGnSm4oOH8iim11AOKXSxArAj2SBtLOYQxV2y3vdhMPXiEX4aKx xTFhmw6gW9VMZauswrL+YvIE7HzJMqYBHQL7OWhIO8ltPDPjIQ9TI4SG8SN2hJQ1hJOu 9wS1WpYzb+WbS2fLIPapJBEf/Rr9la7nOtXSOOdNa5hqU2ijfShfqsNpON9nzndQboYf 0Ngg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=wCwinYbY8KogL6MVGmLHlxl2ZdviDPrAvyQ0cEAXXVE=; b=d9xwaES8GJd+oN8nfUimhp2/U8U1Lu0Gf9nnvNe5kJ9jxvy7aWoSvNh8qGQ9bHKrF3 Qiu89MBP8MEDFJ9iI8cfKImDkn8Cl29HTnCBeIFbl0fKU5mR0PJmDu8laSGYRj5Ng7pb QZaFoEQN38e9yyngEmgLpRTQ4R4ocnWv5TWme8rjECOdRsKjU8oKO8SMjpTDGKjyW+q2 t5xar2tLYD3PydNNCkVtZ/XHHQHIM6zZ5nnzgjlEyuSVp21CgkavNfYJm8Xb6uVTEuMk 41FLIY1MREQy64Em3OY0/GMLwucug3+QdfbThC91XNb8o4JjB72eoaCHu0Zk3wI+Io4Y LhOg== X-Gm-Message-State: AOAM531+1rfzgO0BzRR205+RE8y916iQ71pcAAfKLYkX6/Hus2siVL6f E3kImDUwCDHTD7/1iPAVFP4yFOfNcPE= X-Google-Smtp-Source: ABdhPJxqEK14PqrZNthfoSXC8Awvr4ocMKkHEsmY48ptp27ytKxVNY727/ROYIDvo6INghTh1brLRw== X-Received: by 2002:a5d:544a:: with SMTP id w10mr16075543wrv.317.1597675056008; Mon, 17 Aug 2020 07:37:36 -0700 (PDT) Received: from donizetti.redhat.com ([2001:b07:6468:f312:a0d1:fc42:c610:f977]) by smtp.gmail.com with ESMTPSA id i22sm34966603wrb.45.2020.08.17.07.37.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:37:35 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 009/150] tests/docker: add test script for static linux-user builds Date: Mon, 17 Aug 2020 16:35:02 +0200 Message-Id: <20200817143723.343284-10-pbonzini@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200817143723.343284-1-pbonzini@redhat.com> References: <20200817143723.343284-1-pbonzini@redhat.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Paolo Bonzini --- tests/docker/test-static | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tests/docker/test-static diff --git a/tests/docker/test-static b/tests/docker/test-static new file mode 100755 index 0000000000..372ef6fac7 --- /dev/null +++ b/tests/docker/test-static @@ -0,0 +1,24 @@ +#!/bin/bash -e +# +# Compile QEMU user mode emulators as static binaries on Linux. +# +# Copyright (c) 2020 Red Hat Inc. +# +# Authors: +# Paolo Bonzini +# +# This work is licensed under the terms of the GNU GPL, version 2 +# or (at your option) any later version. See the COPYING file in +# the top-level directory. + +. common.rc + +cd "$BUILD_DIR" + +build_qemu \ + --disable-system \ + --disable-tools \ + --disable-guest-agent \ + --disable-docs \ + --static +install_qemu