Message ID | 20180709152117.21585-7-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2803357ljj; Mon, 9 Jul 2018 08:32:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedxfvt3LdrOtpkcSWgkw7T0NYmfrxJ0ST4bdIyhsSz39R719sJmg+xu2+3AsY8KZMG3KG/ X-Received: by 2002:a37:6544:: with SMTP id z65-v6mr17618234qkb.307.1531150321479; Mon, 09 Jul 2018 08:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150321; cv=none; d=google.com; s=arc-20160816; b=Xd2FOusjnRCzU/tsabCzo9qixegB93XkWTPAbbllmE1ElOGfWKaPfFIDdfHUl3oqGp SZx+mTFVC/dU0vBvSN3YBnSVPJPPW9lQNNab+SHew6r8oIF5+LIaPuWGiivj6+zlrt0K 26WuYhlprIPgFgP2/rGoRpYufO1/d5tz2qTzVwj/KBCQuguEaSSXZ2eZAh1dl1c76Nwc UWq/f7EnmH0TkPEUHAeMGrRNfOPymPkLuUuOOknvgmrN4ZHGcDYcm9GdOUZD8jLailz/ bGgp5HMqoWsPyP4+9lvuoA2RgaQUlaZB/7UDKhV21+yCAqkOnuxWxTEPswlKxtLGlZZ0 1wtw== 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=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=CHEqP8ha/5EYy230az8lKvyT5NxMzNHd1GA3GVinFbFKeg9sSXFGTuqpggGuB9jvvD aeBu11fjoxwbLCJe7hpGImcc9Yg5YUYGTNqN2rSmwPnRYN+R89X32H4nGYRi2NvtLzGH qsPFXTzhIkypufcOTjT3PQ5klVSGGzOtLVorSr0WMV55Mhfar4ec36D3Sw28rBlw9GCh xNNHqf2zqpzBVwUlqJZNwno5lZFNCDeNw/bZltrhOkO06yfKllt8julgTKqRRJPtBtt7 QzJ4dayjwIYCbgCvMW6bwFQUUd28LTiXaajZDkQMgUjnrUSezvJfNIl4J9AFNrs2Kue4 j8GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RUO+5ulb; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q50-v6si4132683qtj.253.2018.07.09.08.32.01 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:32:01 -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=RUO+5ulb; 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]:42801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fcY8v-0008L0-1M for patch@linaro.org; Mon, 09 Jul 2018 11:32:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fcXyg-0000nd-Nz for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fcXyf-0005Wp-Qe for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:26 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:40856) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fcXyf-0005WP-Jd for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: by mail-wm0-x22d.google.com with SMTP id z13-v6so21177154wma.5 for <qemu-devel@nongnu.org>; Mon, 09 Jul 2018 08:21:25 -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=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=RUO+5ulb1LvCEv0BscxHAB/+3Xx7F+8pB/wMVTDtMhP0FBg4GhDNS7LoE6yR0a1NiD 4Av9xOigMscJONNfwCoLGFgVp1NlfNwSsQNLhuuPqsBPOMi/n9GfRLbVriYulIRrTDzZ AuUTUNrjE7wumaJvDLPYlrzkr/U+PlsuUqn+s= 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=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=o+iU7R0JA+Ff+o8p00xQHlFnHL7b6KubGhi6pEYZTvivdRNMEwIV/ZFR7h7lmi/wGz cNGoWjtWb0s0tZm6Qv8bGsT+rLdvtO91bOifs8qeaFgIqy7fqJ4hPvc77SKk9KdCWvtD AxfrKHEJPZ45Tosu9DRo63s9yMNBo1O5JAQlG26vbo8RK31ueKLyZs6mhlD2R0ZjeMgX 9GlWH7TxDzifnotdixmcjKzGhGBlpmWTj93PeAYYHpHIe2Jvy51qq+bhU7V3FuInoE+U aAFvVNNCRDtceu5Hn+3LZks9q+HyEy0+3ZGkSUQ3wC2xjGd/qGykqzf1MqvfviW1TteR spOA== X-Gm-Message-State: APt69E3Hdbc+R18OfS2XjnS+ynJQBZshgJtzoE/5SEuoKF9CDzwe3x+G vbFLDjlTKkfPuqGr6vJ4RYbkAQ== X-Received: by 2002:a1c:3610:: with SMTP id d16-v6mr13466389wma.126.1531149684534; Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i9-v6sm12211134wrs.92.2018.07.09.08.21.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5D6703E07B9; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> 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:13 +0100 Message-Id: <20180709152117.21585-7-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [PATCH for 3.0 06/10] docker: gracefully skip check_qemu X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
various docker fixes
|
expand
|
diff --git a/tests/docker/common.rc b/tests/docker/common.rc index cfc620d554..6df431eb72 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -47,7 +47,13 @@ check_qemu() else TEST="$@" fi - make $MAKEFLAGS $TEST + + if type gtester > /dev/null 2>&1 && \ + gtester --version > /dev/null 2>&1; then + make $MAKEFLAGS $TEST + else + echo "No working gtester, skipping make $TEST" + fi } test_fail()
Not all our images are able to run the tests. Rather than use features we can just check for the existence and run-ability of gtester. If the image has been setup for binfmt_misc it will be able to run anyway. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/docker/common.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.17.1