From patchwork Wed Jan 16 20:23:49 2019 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: 155766 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1105227jaa; Wed, 16 Jan 2019 12:31:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN40h9zu8GXtQ2k4tWkCw9xl9QWiw38RBu7rnJ4nzHNjeJ+rMvRW6nV98FxpZQedgY3ym53h X-Received: by 2002:adf:ecc8:: with SMTP id s8mr8840432wro.208.1547670665563; Wed, 16 Jan 2019 12:31:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547670665; cv=none; d=google.com; s=arc-20160816; b=Nzf2nMl5v+cb9KfLVSrGicq68OT94+I1fA50nVumRBD6CEWY1ovJeZ03BRUtX3Nrpz GZi2WG+inAR2sSE3r+1DyT2KiUDqY3fvxFNPOr6ypaYyM6zM1ABsErAcNxwRUTa2fQ9J Bb5tI+3Dereaskz02w/x3IcwSh2xYOcWFmtqD/BFU8NtBXZf6W/+Kfj7aDHWC4zFlPLk g7Aowft/lX/isLtdpAJuqTiS3HvTEbCu5esX6LFFUlMcNQMkkYo77hb/x/BVeToPo3mM TF7wf6Qyb2ZgGDCFl3kGfpUX2FrhXowNuj1/9LBcU1qR7p1u2RKLUjAUuXUEO9cU03v2 NXXQ== 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; bh=+KbacgjL9JJeISDLFI0i6I7/jVit7/Pa+3F212jRkHQ=; b=JjxPKCgE3M03Nmkyed6xietKAky3V6nQlSqrXo7e4PCrSnQJHBt2K7r8M65y+h5l7y 1h4IlftbRsUyy40BtCa9SXGLMGooVUwpsQ9gud4VLYAK95uwnUVW4bmNFQCRCogHP5kg D8bPd30xPzvmOTxJ0o01DTNfEoMS2IpTjd+3OZ7dOfHfj3MZ2usRVPZeQ48A3KNXh5ZW zSZQOrn0sdpoiC6TNEKO81uRgcZ5thansvJl2ymzVd3VmhVIICvWQJbddGJGMIefPLwi nEJTzX46t8nUksG1JKNZoNhd4Y3xsT9T3RSyRnhWchTLsknRNAFApcURlXkMrU+9lurY cWVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JsOanjNO; 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=fail (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 t13si11945491wrn.408.2019.01.16.12.31.04 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 16 Jan 2019 12:31:05 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=JsOanjNO; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:46430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjrq2-000353-VP for patch@linaro.org; Wed, 16 Jan 2019 15:31:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjrjD-0006xg-O7 for qemu-devel@nongnu.org; Wed, 16 Jan 2019 15:24:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjrjA-0006LA-NL for qemu-devel@nongnu.org; Wed, 16 Jan 2019 15:23:58 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:39036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjrjA-0006Dz-FM for qemu-devel@nongnu.org; Wed, 16 Jan 2019 15:23:56 -0500 Received: by mail-wr1-x443.google.com with SMTP id t27so8485957wra.6 for ; Wed, 16 Jan 2019 12:23:56 -0800 (PST) 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=+KbacgjL9JJeISDLFI0i6I7/jVit7/Pa+3F212jRkHQ=; b=JsOanjNOXjGrvRr+ygf4YMQ5kTHq3be0w5HJbw+P0JeIVrly53LcWbEIIEts0YZnRu kHVxySoCbI9cCuaXgl2MaY5Lw22LYHOp7MkSsNAL1uKwskdQ/SoT0SM8tMRkLl07k2S6 Nv+ktCJQdovNoBgTZmFVwcu/NZc3gZvkH2hXo= 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=+KbacgjL9JJeISDLFI0i6I7/jVit7/Pa+3F212jRkHQ=; b=epXvzouCZR8EwumdGKcgtsDCXxI1u9+UBeSaelo/pD3RlGOpIScf6fu9azjl67N5Gs FpOJy5WOxEQLrt5Elg8KkwXCBeeXPnBRXnfIwoUlQbc7qqR18DAwi/ZaXvTbYZy7OMb6 QgWg3KtWgB07kt7vAxSRushVaw0CojGCpqODiKOuD+vcvwafZeIERWuXD5JiafKbbW5c 26wyjn/xiIdbsw+vXDgsggKhGBF/FdMnZmiwC9PJou+qayvmUYmLyr8I2GKzQSTgTezv ZDoXyxBh2W5LvrRYD9wJykly5EkGAWUE5jxSDefHr3KgZKrU4tSn54T5ZggJVWh6syl1 v3Vw== X-Gm-Message-State: AJcUuke3nA1xMe17g0f30ZsLrg7eRVFecFTttdf4ZAVZSHbtBRN4y06S mt+BX6npR0Eckbq70iAzMkpacQ== X-Received: by 2002:adf:fbc8:: with SMTP id d8mr8963170wrs.318.1547670235248; Wed, 16 Jan 2019 12:23:55 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x15sm83022140wrs.27.2019.01.16.12.23.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 12:23:53 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 002423E1185; Wed, 16 Jan 2019 20:23:50 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 16 Jan 2019 20:23:49 +0000 Message-Id: <20190116202349.29272-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190116202349.29272-1-alex.bennee@linaro.org> References: <20190116202349.29272-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] [PATCH v2 7/7] tests/Makfile: add check-softfloat rule 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: cohuck@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This adds a rule to run all of our softfloat tests. It is included as a pre-requisite to check-tcg and check-unit as well. Signed-off-by: Alex Bennée --- tests/Makefile.include | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Richard Henderson diff --git a/tests/Makefile.include b/tests/Makefile.include index 43888f3ad5..1de4f1b7dd 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -11,6 +11,7 @@ check-help: @echo " $(MAKE) check-qapi-schema Run QAPI schema tests" @echo " $(MAKE) check-block Run block tests" @echo " $(MAKE) check-tcg Run TCG tests" + @echo " $(MAKE) check-softfloat Run FPU emulation tests" @echo " $(MAKE) check-acceptance Run all acceptance (functional) tests" @echo " $(MAKE) check-report.html Generates an HTML test report" @echo " $(MAKE) check-venv Creates a Python venv for tests" @@ -993,6 +994,18 @@ SF_MATH_RULES=$(patsubst %,check-softfloat-%, $(SF_MATH_OPS)) .PHONY: check-softfloat-ops check-softfloat-ops: $(SF_MATH_RULES) +# Finally a generic rule to test all of softfoat. If TCG isnt't +# enabled we define a null operation which skips the tests. + +.PHONY: check-softfloat +ifeq ($(CONFIG_TCG),y) +check-softfloat: check-softfloat-conv check-softfloat-compare check-softfloat-ops +else +check-softfloat: + $(call quiet-command, /bin/true, "FLOAT TEST", \ + "SKIPPED for non-TCG builds") +endif + # Per guest TCG tests LINUX_USER_TARGETS=$(filter %-linux-user,$(TARGET_DIRS)) @@ -1025,7 +1038,7 @@ clean-tcg-tests-%: build-tcg: $(BUILD_TCG_TARGET_RULES) .PHONY: check-tcg -check-tcg: $(RUN_TCG_TARGET_RULES) +check-tcg: check-softfloat $(RUN_TCG_TARGET_RULES) .PHONY: clean-tcg clean-tcg: $(CLEAN_TCG_TARGET_RULES) @@ -1107,7 +1120,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tests/qapi-schema/doc-good.texi check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-block: $(patsubst %,check-%, $(check-block-y)) -check: check-qapi-schema check-unit check-qtest check-decodetree +check: check-qapi-schema check-unit check-softfloat check-qtest check-decodetree check-clean: rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(target)-y)) $(check-qtest-generic-y))