From patchwork Wed Jun 1 18:05:19 2022 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: 577833 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:8f0c:0:0:0:0 with SMTP id mq12csp870340mab; Wed, 1 Jun 2022 11:44:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7qwfAE4QTzk0pmhVopUiGBU3ORlJlIpf6vYbfq+5HtlDfmJeraORTFwpRqDSUue3Zi0xW X-Received: by 2002:ac8:5c94:0:b0:304:c37f:422e with SMTP id r20-20020ac85c94000000b00304c37f422emr880635qta.531.1654109078757; Wed, 01 Jun 2022 11:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654109078; cv=none; d=google.com; s=arc-20160816; b=KuzB7B2j7+M8cgyYBT3XDwwRUhcuKkldvJOzL4WhwPDVrnW4wehURjTxGVwEVb3TsR b0/arxIvH9FyfRtX6DtJIkH40Pl+sGUSjapeJ+Ce8h65jGUeMH4RrG9+HSxs7eLEP0uX 2BOYBKz+v/JZI9A0FddFwXnnQuibYALhlwG/OKO7I/imkMPmVew1I22EfFlfJxVgg/oV PesgPTrsIjOOZ/SheUorUIpHNFBpxdjjwcz0e+X3CQ2t+/Yrd0M1ttC/iZ+mrUh7LmDA bkn8w5g0Dye4d6UX8WaQ7CniOdpqb0ds0soKORv5yt/cAjZ2tsZieopKz39B+luN/ojD 6www== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yTa/0uzEfkkhXOiW6+OjBAouplG1hHJ7qPwoee6Vum4=; b=U7FfOMYRnqT0g+kUx0DVl9E/WOPTi07pG2CpZANW4DWGMCjqoFeFrdMg+X3RrfTWKX 0cHGHfyYQiMnQybzWxeUZXW2Q8cJqqTmmPdVHcgCBLJOTUtd1uaYDcbEP1XERVHpc+bo mtVRXZx2Xw/ZoKOJMBHrZ0eBzrcxO/IxeuAzWYJ05AIYj24xzT+f5sBHerj9zzbTd8Ji JQl2J5yt+rOivJwb0aWGSx1H4l7JYIDLMU1FNJyST4w4WV1mkbB+sm2zgfUx2o6dng1Y 7fmlb4O0tyFqh3sjHqJn4qpOyiQHf949Vx7SPS8LwFHE9ZyBtkUwtrO1iGZZXmdHx6ss 8hlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gDLJy/Xx"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c6-20020a05620a268600b006a3742b126csi1475727qkp.299.2022.06.01.11.44.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Jun 2022 11:44:38 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gDLJy/Xx"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwTKg-0001zD-Bt for patch@linaro.org; Wed, 01 Jun 2022 14:44:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwSrO-0002bg-Dp for qemu-devel@nongnu.org; Wed, 01 Jun 2022 14:14:22 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:41613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwSrM-0006bx-Oc for qemu-devel@nongnu.org; Wed, 01 Jun 2022 14:14:22 -0400 Received: by mail-ej1-x62a.google.com with SMTP id u12so5401683eja.8 for ; Wed, 01 Jun 2022 11:14:20 -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=yTa/0uzEfkkhXOiW6+OjBAouplG1hHJ7qPwoee6Vum4=; b=gDLJy/XxCGQUw9tiWrK0jfpKwzn0gMMN5JpCX0jcFuW+EDZPP0sgYUHzH5ff7PlC+o NeY3Xel9aO+0861ea92jDs5Xl+XZxSZ/C1iahICGBCsn2dofmjdFoXRUK8CgRq/ScACQ s4MNCuNj1o0OOkyxiZ6qxs8EQyCVCmTqWcMOCu2tWV0zyAJyCNb49KDic27oG8pc2tJV HHIQdGyzexggYXkyL8kW8NeL9YqkrPvWs6MWb0nMmUn5jWwsTyhPytV57m3tShCMqG1X MZD/Q31RSIQM8VSdik+UQWQrXEXXdI1/6LwJQ//4AEcGjRre4FOsIlweH3dCyGvtiKzP JY/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yTa/0uzEfkkhXOiW6+OjBAouplG1hHJ7qPwoee6Vum4=; b=zq5L73loOO2Y0ezwBSahZ/gF/99H5nb/tziRQajvRPdrhlb0aPbrlUcXmNjcQFrHtW IGF3m+GI4zdeo1TW4HRMS5AOgJyV/7B5YZV5il1PuniM+VBh2f59O1ArwgzRAAbFkczA JZr0QES9WmLNRH6miJDD5iYEfq0kDhmCZpgWdPgCLPETbmX3FfVhYCTrXXIhJZBKE0qv kPuMe8vxpWXVwKXYgAZD/guU1EtyGD6aaYH4cM2+Mj6U/io4k+yafL7fKvY/jga2tUZE X6nU31dDi72A/TCJ/6M/0OSx1JV+Ihf2Au0V+2U2MS2SwwIGDkPuZjVUYlUKPnfkNIpr AwlQ== X-Gm-Message-State: AOAM531h3ezys1+guX1LKlo6NfTgliZEciAOsFPFsKgXXfuEaT9QcBJC sGZT7EzUJ6W3K2PnpTSxpJMLgg== X-Received: by 2002:a17:906:6a21:b0:704:1440:1bf9 with SMTP id qw33-20020a1709066a2100b0070414401bf9mr738658ejc.500.1654107259434; Wed, 01 Jun 2022 11:14:19 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id bv3-20020a170906b1c300b006f3ef214ddesm984139ejb.68.2022.06.01.11.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:14:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2C34E1FFC7; Wed, 1 Jun 2022 19:05:39 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, richard.henderson@linaro.org Cc: qemu-devel@nongnu.org, Paolo Bonzini , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= Subject: [PULL 15/33] build: do a full build before running TCG tests Date: Wed, 1 Jun 2022 19:05:19 +0100 Message-Id: <20220601180537.2329566-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220601180537.2329566-1-alex.bennee@linaro.org> References: <20220601180537.2329566-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini TCG tests need both QEMU and firmware to be built, so do "ninja all" before trying to run them. Signed-off-by: Paolo Bonzini Reviewed-by: Richard Henderson Message-Id: <20220517092616.1272238-5-pbonzini@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20220527153603.887929-16-alex.bennee@linaro.org> diff --git a/tests/Makefile.include b/tests/Makefile.include index ec84b2ebc0..72ce0561f4 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -57,7 +57,7 @@ $(TCG_TESTS_TARGETS:%=build-tcg-tests-%): build-tcg-tests-%: $(BUILD_DIR)/tests/ "BUILD","$* guest-tests") .PHONY: $(TCG_TESTS_TARGETS:%=run-tcg-tests-%) -$(TCG_TESTS_TARGETS:%=run-tcg-tests-%): run-tcg-tests-%: build-tcg-tests-% $(if $(CONFIG_PLUGIN),test-plugins) +$(TCG_TESTS_TARGETS:%=run-tcg-tests-%): run-tcg-tests-%: build-tcg-tests-% $(call quiet-command, \ $(MAKE) -C tests/tcg/$* -f ../Makefile.target $(SUBDIR_MAKEFLAGS) \ TARGET="$*" SRC_PATH="$(SRC_PATH)" SPEED=$(SPEED) run, \ @@ -74,6 +74,7 @@ $(TCG_TESTS_TARGETS:%=clean-tcg-tests-%): clean-tcg-tests-%: build-tcg: $(BUILD_TCG_TARGET_RULES) .PHONY: check-tcg +.ninja-goals.check-tcg = all $(if $(CONFIG_PLUGIN),test-plugins) check-tcg: $(RUN_TCG_TARGET_RULES) .PHONY: clean-tcg