From nobody Wed Nov 5 02:32:10 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531857674764304.95030160975057; Tue, 17 Jul 2018 13:01:14 -0700 (PDT) Received: from localhost ([::1]:32942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW9p-0007O2-Gn for importer@patchew.org; Tue, 17 Jul 2018 16:01:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW4s-00033u-4v for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffW4r-0004iT-86 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:06 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:35307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffW4r-0004hU-1e for qemu-devel@nongnu.org; Tue, 17 Jul 2018 15:56:05 -0400 Received: by mail-wr1-x443.google.com with SMTP id a3-v6so2390104wrt.2 for ; Tue, 17 Jul 2018 12:56:04 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t184-v6sm637141wmf.18.2018.07.17.12.55.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 12:56:01 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A17643E075F; Tue, 17 Jul 2018 20:55:54 +0100 (BST) 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=q0tIQwCUMfDfDvaDmnBY9FLc57UmCoUBHB+PkCRBiOo=; b=bWf5H1uqZjwLPWqIVBuaNrEx26HttnC6C8imB+M1DFZwCCTE+arARkuFCFHPXRsEir 9UAxENkUbTtPkWx0/iVVt+5dYb8e8gmGMiQjzk+NlcsjF/epMDRKm76qHWfbZRl9rOLa bjVO/wQYl5pkqhQ20P9VEyyBI2RChnKo27RhE= 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=q0tIQwCUMfDfDvaDmnBY9FLc57UmCoUBHB+PkCRBiOo=; b=P2u1RmKNpSUlgk6JNwU+sWaLqJZZhCxnL7QAb04dxJuZpRR5P3HGLSzG56OChTIxvu qMoS9EO4uW60edrS/zKtCkRDwcgVX5+F3ddEB8h8QZP9dAsee3+550mjZxeFbjqbRirI gLUG72n0QopNvkoMT4t2It7IOhwUQRqQluR+CgWXmxNmEMoAvMoKHjFcDawrfRUC/PYp clgrEgGjNiQjK2PMHXt9XfhuKaom6a0TBNLwsBcTqdfulCXfv3c3LdGcvviN9AuYSeRp wJc3iSQCL0Sh5iI0wZ0m8g7ZeVdMYGcez5/ItkG8VMSJ2uEVr0BTlhgUtnGgfggBC9t9 KVHg== X-Gm-Message-State: AOUpUlFaQTHPQa6aSAKry2PIhh5IerNNEt/ziI2oqjrfJABWLGrgN+co EHtRl46InEsjAGax/GfmU9yA5Q== X-Google-Smtp-Source: AAOMgpfl7bqx40dMwLdvmMqy8lHEO24Q41aGC9yRdg9vQb2lUIbkIy2bnSGAvJQ6WrCicbh82Q5YvA== X-Received: by 2002:adf:8385:: with SMTP id 5-v6mr2340448wre.13.1531857363869; Tue, 17 Jul 2018 12:56:03 -0700 (PDT) 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 Date: Tue, 17 Jul 2018 20:55:45 +0100 Message-Id: <20180717195553.9111-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180717195553.9111-1-alex.bennee@linaro.org> References: <20180717195553.9111-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v3 for 3.0 10/18] docker: add test-unit runner 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This test doesn't even build QEMU, it just builds and runs all the unit tests. Intended to make checking unit tests on all docker images easier. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- v2 - make script -e to error out on failure - add comment as to why the configure step is run --- tests/docker/test-unit | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/docker/test-unit diff --git a/tests/docker/test-unit b/tests/docker/test-unit new file mode 100755 index 0000000000..8905d01150 --- /dev/null +++ b/tests/docker/test-unit @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# Build and run the unit tests +# +# Copyright (c) 2018 Linaro Ltd. +# +# Authors: +# Alex Benn=C3=A9e +# +# 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" + +# although we are not building QEMU itself we still need a configured +# build for the unit tests to be built and run +configure_qemu +check_qemu check-unit --=20 2.17.1