From patchwork Tue Jul 24 10:51:01 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: 142760 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7120353ljj; Tue, 24 Jul 2018 03:59:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdLiOX77jxFrZE8sOhLSgEC+nlT5Qwr6xGHevSW0zxRPwkM3eU/peNaCXTVM622gJK9ur8M X-Received: by 2002:ac8:1881:: with SMTP id s1-v6mr15013329qtj.401.1532429981679; Tue, 24 Jul 2018 03:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532429981; cv=none; d=google.com; s=arc-20160816; b=E68Km8J6jUC2/5PzOnL2jomc0uViRFp59TcC2WENL6GYqjGkFTT+YXKLhfKeTrQc5t JluUUAYJ3fiZX4mfvJ0KDFcRCeBlt7S0vAoAfL6YFnVMWroSdZvxknPq1iabBM3qn2Rv +wnhOkU1VN7EyFVlEk3B5x1l0+zxVu9yuV3wEf4gLFp3+cTWwwpCO4mDKDr3S+OoG7CS Y0mKbqyXp109ZW1BbxHRSz4WYD3oQj+Vv0ZmfuYA3v5+Yt7NHdxxBhPizjddHFBxhzZl pKYJIIcUlS7c7sWSN7CLb0721tIdWnG9WYEx4Ot/5cWG7yrO+yyz5J9w/xJsAgZaGMXp VtYA== 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=uNU7ohYeREtFZBk+8VGwxnXxkQ8Q1isap1+53CabS00=; b=npgV4NHr31GJF+Ve8Iimy3QMSkNx86ayOyg+617CdbS4z8NHEuzf3hzoWiMV+P6xxd QJUvVrs+gjsCCPyILXcJ1LpyLQu+z9HjIkU+c5JUvEShZ4AdpG2nOUujfGSMemt7UxEJ Xl3IZQr0rPJqvkqYJLzKrlwgE9zZlI6rdFrSYW64JEK7rWLttlMEte2+/yCuK/aWMV22 wggYBGszD8bAaUyPZUmKybn/UpYZzR0kFk94X3TjUQbkURdh9HQVjLov+PMgxhALz+g7 yqIAfG3x7GvP+UIkWu71FnbzQaQPFhs78sm6ar1mEPOXKLSgo0Zs68JYBvMEMdvZQdQX AmNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fIyXrMCI; 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 m23-v6si10103378qkk.261.2018.07.24.03.59.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Jul 2018 03:59:41 -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=fIyXrMCI; 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]:39482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhv2b-0007mT-3q for patch@linaro.org; Tue, 24 Jul 2018 06:59:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhuuf-00011m-0L for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhuub-0006YE-6z for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:29 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:44446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhuua-0006Y3-Vt for qemu-devel@nongnu.org; Tue, 24 Jul 2018 06:51:25 -0400 Received: by mail-wr1-x443.google.com with SMTP id r16-v6so3637677wrt.11 for ; Tue, 24 Jul 2018 03:51:24 -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=uNU7ohYeREtFZBk+8VGwxnXxkQ8Q1isap1+53CabS00=; b=fIyXrMCIIdMkH+fsXiPInf0L+aKfcwAoI03k62Afe/rV7dFpI3blFWicb8WEPVlzJ4 ldVe+JqHNkkTsLi8PXcqIONigGczKZ99Kjdt2ahLn5FvPI4iY9UPkPOyzEkxgB/0oL7n HOf8gKon5E3S5r2qj1rdRwpbDCd8jF+MEzWdQ= 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=uNU7ohYeREtFZBk+8VGwxnXxkQ8Q1isap1+53CabS00=; b=BFsqIUcwbm8h+vNHAsOrgKg74A+dCZdWdJjG/iAV9qYLbJAzsA0mr4/Vy5NVwAFmKT 468yTrFoYrQyVfXtmc+hCisYbJOE8LTSAGfF/mbNHtNoPA4sq4PyCn0Hg/7u/PoWOEu6 WZzMtCbE5G/OgGriVyOkFa2oIg0KHXQsjlvefh4dpxsCYrWERuSvnjfMPveGzcoxeq/C yRYHzDeUfOlEPmNUkY+s8FeBcpk9d8hrkOevfQNm3+gK7ryo2DvzSy4NppFSo1Kk4E7J F5aAD9YbrxwvuG1lr0gvvWYKz6t21ViOHRQ5zQ4E6B4DmTRX/61DMUbCDVZTc1aN7171 vh5A== X-Gm-Message-State: AOUpUlGtG1G5HqXyJNIZJSxBtat3FinLujtcMZO82jYMujDRPeP4zg0B NrVbcvLWnVutsl0vJK/Gf7WVVA== X-Received: by 2002:adf:ac66:: with SMTP id v93-v6mr11251302wrc.7.1532429483844; Tue, 24 Jul 2018 03:51:23 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v5-v6sm14772725wrp.87.2018.07.24.03.51.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 03:51:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 92D503E0698; Tue, 24 Jul 2018 11:51:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 24 Jul 2018 11:51:01 +0100 Message-Id: <20180724105109.8392-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180724105109.8392-1-alex.bennee@linaro.org> References: <20180724105109.8392-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:4864:20::443 Subject: [Qemu-devel] [PULL 09/17] 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: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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ée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.17.1 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é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" + +# 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