From nobody Tue Nov 4 21:59:32 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 1531484923018639.4277112945443; Fri, 13 Jul 2018 05:28:43 -0700 (PDT) Received: from localhost ([::1]:37026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdxBh-0004up-W5 for importer@patchew.org; Fri, 13 Jul 2018 08:28:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdx1I-0004p7-DO for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdx1G-0003q6-0X for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:56 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:53801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdx1F-0003ol-QD for qemu-devel@nongnu.org; Fri, 13 Jul 2018 08:17:53 -0400 Received: by mail-wm0-x242.google.com with SMTP id s9-v6so1304801wmh.3 for ; Fri, 13 Jul 2018 05:17:53 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b11-v6sm15998438wrv.82.2018.07.13.05.17.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 05:17:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B4E963E07B9; Fri, 13 Jul 2018 13:17:42 +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=xuGTdDm3QUQTf7D3BLWtPMdNmJ0jQ/xVW6mgIgF9oa8=; b=c6dIBPE1phj0wKHX4zvJHuda+jrpZyccGPxWNTPydiVzOBg0xsqxg83n/YKu0URdRn FxnJjgP/ojRCUUcyUsloHFc3jNwF8JuZOJj+qgSWFe7LifUTTNHM69jcLjL736oUIJH0 vXzzx1VznvAldU0vxotsxPAxQmjzL0Lt4t5js= 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=xuGTdDm3QUQTf7D3BLWtPMdNmJ0jQ/xVW6mgIgF9oa8=; b=biphfYDak+KtElh08T916cSyAfljcMqAxPRcfbD+IW/670doHH1lTXkml3+cY2DoBI Si47iLYiRqDOzUZpgVSTgdVSvfjFJSv09iiKUw+FiSIoXxDD6BRvovLkGF73WvFOPKqf ex99v0iIKhl5uVMyS4qCOUo7xqDMK/drRZ5nvKodrPSmMf8K4XsqMXvH8MM471D/5t1p 94RLzOYud2qMS8KwcYzaEnDCRqFXeFEl3/vqSHy61y9Zeon5fbo56r6NeuvHzS0jZTzr TR8c9+rEkVMTX+pV7F28mu/mdVUVW0sCwDk2bx1TWCvqpkEvnni9ibzcaxELKoL656uY yq8A== X-Gm-Message-State: AOUpUlFaBOSJO5M2uqSZeqTZCoePlgYFzCr/RHPNKT/y8nvn+whno5vV r+W9VTt/a3jy0x4upSy6XmMmUw== X-Google-Smtp-Source: AAOMgpekK0cInZwKgsz6xg8uuzL4KvObWJdq1nHK9q8FQpCqz/g7YtxOyxNnYnjFTXnBaaa9pVuZNg== X-Received: by 2002:a1c:5e48:: with SMTP id s69-v6mr3641405wmb.19.1531484272819; Fri, 13 Jul 2018 05:17:52 -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: Fri, 13 Jul 2018 13:17:35 +0100 Message-Id: <20180713121741.19262-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713121741.19262-1-alex.bennee@linaro.org> References: <20180713121741.19262-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:400c:c09::242 Subject: [Qemu-devel] [PATCH v2 for 3.0 10/16] 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