From patchwork Mon Jul 9 15:21:16 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: 141426 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2794836ljj; Mon, 9 Jul 2018 08:23:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpec6wtD9hRISsIoePXqLT4F8XTdfCaPupMvdR2V2N2AOUNIdSxzXyF9eK1SaESDodFn62EX X-Received: by 2002:a37:6446:: with SMTP id y67-v6mr17983815qkb.309.1531149823001; Mon, 09 Jul 2018 08:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149822; cv=none; d=google.com; s=arc-20160816; b=nKm9XBcpCU4/1dK2XOAAfbLGbyK6nDsqvhTWmkgDWQL7kfmRcJ3T5Kj4feTp0TaL1Z iV9nQc0hqgoF7Jot3vZzp5hx0u021ZjR7OFiAdAtvF9OLe4qDMqBJDSkWuHscYUPL/CM ekk9NdDcqXNCa1G8u7H3sXE5Xyn7RCCQpeUfrGCiEd4Du5wBPLlpUZ/Ap8rUFmZtpCsu Aw1liGhgj78k8qsnnDHUcgGDMLNo1eX0M4ujFtGlM9uH77ko14a+tpMd5q1y9JS5TCk9 4kT6W3OgGyR0tc5BC6tGWl+bxSZuVpktMtz+GMMWf1iWOy8i2oxotQvM1cTmux7IMaI3 k+Eg== 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=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=u4OSqz4e2RI/Ry1Bva8MAl3gbIgvXaIjrx0JU7meR2ErfDx8xt5RSpLRKoWaKj53IT VKAIoEZQb23zidB0UKuI54WKbS3Ic4TrLG9WgIxEwtpy9+4oe4WnDBgrywaPkpK1zu4b QBW7E7Iw3ewlCSJE+L4DYwmzLVxK43KMihE7k6te/4smmyXxZoHmM9aXXm4hAJcx5nto voaErlPhNnozTJD/wYSuZFI5ONkIC1IZKsTUzcppBYMnO4EpCpkmzsxhQ8K4IRg4HpaI r/S7xa+sdMH/FDEkIqCK5TbGTlWf4DLPRUE8pY4ebm/jfC089c9gxNdf9CofxkCMYPcs Cl5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hg1l1kc2; 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 g4-v6si505853qth.293.2018.07.09.08.23.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:23:42 -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=Hg1l1kc2; 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]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY0s-0002HT-C2 for patch@linaro.org; Mon, 09 Jul 2018 11:23:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyo-0000ui-15 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyj-0005Z5-VA for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:34 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:39905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyj-0005YW-OW for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:29 -0400 Received: by mail-wm0-x244.google.com with SMTP id h20-v6so5276149wmb.4 for ; Mon, 09 Jul 2018 08:21:29 -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=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=Hg1l1kc2FxBYWMTZhN/vr0dFmO5mFoY1I+EsxFUucQuuAVOyseLARARwwm5tkGy8De HRt4oGoOwyIPku29t+gh1i8iMwBXn91QZH4UALWHF/FfiKWdne2t2vtPrZpVDi28Zr6L vmL6tGzHr9IZILOrzh0zyuaTAj9y9xi6L7UTU= 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=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=Iax0XLthzJjprtmirAEBytuwgCZoD6idWEs+HxesoCaISe6B9EkEDMciZC83XP+YD+ ODIs6wgYwoz/l7eQwoZKP++RHkHnrhSJfRaJMA4Go9zr1KqDuPddM1Pt1kwPM6kIji7b DLNhIZACr/KILWmZAQMczxRo8ainBUDw5O5P4zX5h88ZnJWEXJgqktEFJFL83VuliOpU 7ppuUzJJuWROrNaKf4kOReY+86JxP4LPztJZLTyj6HtPI4thkv95nCa+YeYP3NOW769d Lzb28U5PTZIiTFCEFFrf7Gt1BINvXdGOowWj32/TKSmYBxRyPxy3/y6LlRacWRrk25hw KRrg== X-Gm-Message-State: APt69E24mnHaPJ60m9XYdK2MAmFp05KjR5QeBzGL5Q6KHTEGHjFFo03q zZWyfuHtoG74e8oQTgooX4tXyg== X-Received: by 2002:a1c:8b81:: with SMTP id n123-v6mr12205790wmd.142.1531149688734; Mon, 09 Jul 2018 08:21:28 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm16270664wmy.4.2018.07.09.08.21.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 9606A3E085B; Mon, 9 Jul 2018 16:21:18 +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 Date: Mon, 9 Jul 2018 16:21:16 +0100 Message-Id: <20180709152117.21585-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::244 Subject: [Qemu-devel] [PATCH for 3.0 09/10] 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_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This test doesn't even build QEMU, it just runs all the unit tests. Intended to make checking unit tests on all docker images easier. Signed-off-by: Alex Bennée --- tests/docker/test-unit | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/docker/test-unit -- 2.17.1 diff --git a/tests/docker/test-unit b/tests/docker/test-unit new file mode 100755 index 0000000000..be0d90d748 --- /dev/null +++ b/tests/docker/test-unit @@ -0,0 +1,19 @@ +#!/bin/bash +# +# Build and run the unit tests +# +# Copyright (c) 2018 Linaro Ltd. +# +# Authors: +# Alex Bennée +# +# 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" + +configure_qemu +check_qemu check-unit