From patchwork Tue Jan 22 21:50:16 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: 156334 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3676jaa; Tue, 22 Jan 2019 14:08:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN6V3Z+RHWnshIBrk7dUVaDpkicIaBJG3m3VDHiiClFr5XQAzOE7CRXTeGmDos4gtQ/gEDai X-Received: by 2002:a1c:5fd7:: with SMTP id t206mr212851wmb.145.1548194921685; Tue, 22 Jan 2019 14:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548194921; cv=none; d=google.com; s=arc-20160816; b=x9S9bCGba96jGiyQyRikEkTJ05ddodoSM06BOewY2Ig506hE2zcaog9eHqrGq7ae+f mMsRSy0mR7ZNhe5Gzq021nQkfJx+gyMLbyZF49Y8UEl0gFZuvULgZ4AOdSKjnfyvJkMs f8ASbll/NO5VbXmGit65q+5IBIqkvFWMr3s0fAMeMxQfwuackzeTHa/iwAdLPqKaqSNn bGPDLRGtR9QsJnFWRXZonTQJDu7/Sn+36erIMn7n1auBbCgigSGm55srjpw236kADHsO E1HiTz8NnU7n1W6hewmY7PUVX2JARcBsbzc0hN+NYH0tCysbNRAMqHmpy1OfbXQY9tRy vtdw== 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=yttWb6PrQgq8ISO/77UEb790jQuJJJcQac8NOTluiGI=; b=kAV0wLzFSzKOB3ZeBVgkcRCiiy2zkZI9fmLgOryXEhJn3p9ln/7uNbQseYbMaDL1HM IGiPe+fkMOako+anDourePxj9EO8nwbUzm0zZRNWWlvJuaJlwkKHbhWjp/7t/fMWkHHZ sZ8t/qAFCEdcUa6sjMjqqwH0CHGIQ9JGQBQIZTOXdxofnG7/20WYp7Kev12LXRQi3ClR ZCfVqcEvSe1AULrcS12DQ5XF9KTN55g7/SqkfuD5sTA4ZZVaOZFRoXyLv3UKyzqfzc2k KZnXXoc4wk3I/f1bEiDWgiXy2D4fbp373w8Hx0YTYzNq6k0RGgLuo2vCxQMdmGiPRzCl 2U0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XWN4xjzR; 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 a3si34911092wmf.189.2019.01.22.14.08.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 22 Jan 2019 14:08:41 -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=XWN4xjzR; 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]:51096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm4Do-0004PC-LB for patch@linaro.org; Tue, 22 Jan 2019 17:08:40 -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) 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-Received: by 2002:a1c:b14:: with SMTP id 20mr175133wml.103.1548193825022; 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) From: =?utf-8?q?Alex_Benn=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 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_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 Reviewed-by: Richard Henderson --- tests/Makefile.include | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Emilio G. Cota 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) tests" @echo @echo " $(MAKE) check-report.html Generates an HTML test report" @@ -1000,6 +1001,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)) @@ -1032,7 +1045,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) @@ -1113,7 +1126,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))