From nobody Wed Oct 1 09:32:38 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548194874467336.5340269653765; Tue, 22 Jan 2019 14:07:54 -0800 (PST) Received: from localhost ([127.0.0.1]:51096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm4D2-0004PC-RZ for importer@patchew.org; Tue, 22 Jan 2019 17:07:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3wS-0007V1-MR for qemu-devel@nongnu.org; Tue, 22 Jan 2019 16:50:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm3wP-0008Gb-Tg for qemu-devel@nongnu.org; Tue, 22 Jan 2019 16:50:43 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:34735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gm3wP-0007uk-Kv for qemu-devel@nongnu.org; Tue, 22 Jan 2019 16:50:41 -0500 Received: by mail-wm1-x342.google.com with SMTP id y185so9540708wmd.1 for ; Tue, 22 Jan 2019 13:50:25 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k128sm72720551wmd.37.2019.01.22.13.50.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 13:50:20 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 020313E0DCD; Tue, 22 Jan 2019 21:50:17 +0000 (GMT) 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=yttWb6PrQgq8ISO/77UEb790jQuJJJcQac8NOTluiGI=; b=XWN4xjzReym44TgmGejty7JvcaGYLiaOCnu/rwV3fMotUUAPatf0wXxMwn6UYyDxMz i/4S+kyOb/NRKfpoFlPf2qt8K7CDmQph4/H3zxMh7xgkRvP7XijNfmlTHqKOEwyGyWjG NfRGkyv8x3xi6cLQ0d/r6BcGk2nlF6zmTYEGU= 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=yttWb6PrQgq8ISO/77UEb790jQuJJJcQac8NOTluiGI=; b=n6z0wCXTgEi106xEjYwJuOZivLWCxqOKOIYl4QPsVcRCaFoXzepzcJvV0fll7d0QMP SeNZKZ91yurw9la95D+ZIuyuG9ewWag0OXuGnzYgqKAXzTbm6a9317Ps+flulU4O9Cmg EjEVR+ugkl9B/vHrfLUmnso+WLz0VOnpDrGOHvd4e4skt/Ul2DsRN3/JCJFkAxxQa1B9 26+j72MkxaKeu3mf61uDwgriKgi807/ozSbylBTTkWv7ZQNj+IDhgYuMVLzxP8fspBrq MJCRhrvYqV+RpIhgtiL6BmTuBnR0j26ZNWFn3MISvUjD+O1o/hmb1CPFwo/JgXBRje3b ywzg== X-Gm-Message-State: AJcUukc2AQaTEnzWEpPbBcLYHTldqwry4sa/VrqHQIosDsgkwpSwsNik ebi9rMdfJprZco7of4x9u+HtUWKVqq8= X-Google-Smtp-Source: ALg8bN7BYvK7GNq+LgFbfqJFKoDA8r61EA2pDq8pKlzbvW17NnodxIfYmMt6LcEU0nGPFp7ig+2Xgg== X-Received: by 2002:a1c:b14:: with SMTP id 20mr175133wml.103.1548193825022; Tue, 22 Jan 2019 13:50:25 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 22 Jan 2019 21:50:16 +0000 Message-Id: <20190122215016.18697-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190122215016.18697-1-alex.bennee@linaro.org> References: <20190122215016.18697-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 Subject: [Qemu-devel] [PATCH v3 11/11] 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e Reviewed-by: Richard Henderson Reviewed-by: Emilio G. Cota --- tests/Makefile.include | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index f123616bc7..acf166e0e2 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -12,6 +12,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) test= s" @echo @echo " $(MAKE) check-report.html Generates an HTML test report" @@ -1000,6 +1001,18 @@ SF_MATH_RULES=3D$(patsubst %,check-softfloat-%, $(SF= _MATH_OPS)) .PHONY: check-softfloat-ops check-softfloat-ops: $(SF_MATH_RULES) =20 +# 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-softfl= oat-ops +else +check-softfloat: + $(call quiet-command, /bin/true, "FLOAT TEST", \ + "SKIPPED for non-TCG builds") +endif + # Per guest TCG tests =20 LINUX_USER_TARGETS=3D$(filter %-linux-user,$(TARGET_DIRS)) @@ -1032,7 +1045,7 @@ clean-tcg-tests-%: build-tcg: $(BUILD_TCG_TARGET_RULES) =20 .PHONY: check-tcg -check-tcg: $(RUN_TCG_TARGET_RULES) +check-tcg: check-softfloat $(RUN_TCG_TARGET_RULES) =20 .PHONY: clean-tcg clean-tcg: $(CLEAN_TCG_TARGET_RULES) @@ -1113,7 +1126,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tes= ts/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-deco= detree check-clean: rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(tar= get)-y)) $(check-qtest-generic-y)) --=20 2.17.1