From patchwork Tue Jan 8 16:21:54 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: 154985 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5065191jaa; Tue, 8 Jan 2019 08:25:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN6NJVK1UCYBxkurUisj49HfxK93aw5qVKFFQcB/6Qr9cwQFFFubzAkEX6HlOS9W2CVtzUJm X-Received: by 2002:adf:f009:: with SMTP id j9mr1907045wro.170.1546964703935; Tue, 08 Jan 2019 08:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546964703; cv=none; d=google.com; s=arc-20160816; b=VXynEPzd/LmgLM1Fdw0IuQCoinGgsqU55vz1Fati92TAf4JVHyvTlP5BuOJea+AgQh KmEKwHgi2S+AjshZvCpG1IUSygm3nAl1B8iwwaoyQP98cEa7H3/z/BbhP1qXdB2W1MWG zjkdQP7saXKF3+QUwt9GHNnZEQsPyoWJM7wq68WA+TjxjerKpX0ZfvukkCvB7K5U52xz RKrPXUM2DICvrsQ/xYRzQ/Wz/celL4+ZeHsdciAvthoX2i/y+FSO+t/yfY6Uc2iQujuP 0DNbudAD+TMCq1mfHfN+kpQRrXnBodyv6EPggjFtMfc+6FCN2S5eUqQXGeVk/UJ+r15e JUDw== 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=Dl11T0QaTAXzCTmUGQS54C+SDceurmzs5fdGU6KlM+c=; b=H5uh5WeedAj1t86k1AdVasvwEUNEqcyVNWsSrXEP51JdiMaH1TNz6pza4pXiOtvHSN dlaiVUJ4wdf1ASz+PSEtgBJxWsA61exNlvCebGuolYWA5ud+rAER40dB2q99jUOGnHAd C8l8et9/xJ8lWpSIYHVk7pyY1/DNaY9O7uzGukAlYxqmFCO35XTZCyJf/AGLij4LaV5S 3tNYYJeQsBuHHDE7myYQLG2szrQ06m0KzQ7nKPDNLv+Oh6+yiSkaMSqijStn9PqVJrzG p6mnc8zwRHP+wQCxbi0Ql4GOI/2cQ0P1rPcMLgWbTKA87C2KCYLwhhozSB74eVcj4IVu zpTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=jQN6v+Y5; 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 s13si37371616wrv.406.2019.01.08.08.25.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 08 Jan 2019 08:25:03 -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=jQN6v+Y5; 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]:53982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gguBY-0006Ks-Uw for patch@linaro.org; Tue, 08 Jan 2019 11:25:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggu8s-0004Mh-BF for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggu8o-00017Y-J4 for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:13 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:55813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggu8k-0000bo-GX for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:09 -0500 Received: by mail-wm1-x344.google.com with SMTP id y139so4666121wmc.5 for ; Tue, 08 Jan 2019 08:22:01 -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=Dl11T0QaTAXzCTmUGQS54C+SDceurmzs5fdGU6KlM+c=; b=jQN6v+Y5qQ0CJqS9uvTtpWQixgVwQTs6pnz1ffnG+a4Uf+Qs1TfnvHgAWa1QunaLDj gXjtCYU3hGDFFfFgBMLcafyn7n5eBQf08HlqwqV6tPSkJGSdbVvB/Hi3J3fN/QA2iU9Y MFZ1VQ80MR1poiHvCVStq0RM6cg5oxnZC2hdM= 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=Dl11T0QaTAXzCTmUGQS54C+SDceurmzs5fdGU6KlM+c=; b=btAWpBL7YWF5H0BYAQOtBmdZEoVnbJH6gQrxwDUdAMKGUG8zhAzq7reXP/vSsOSiBf q0KmtOCZzbAKD6UQWtpFfMpx/osJYJEfipxzcHFkJwYT/bdIaI+/+hrH/e1i0dxKrNM2 3hAI/bhebvagyEvM0Tt3/+z8uTml5ulM9H0OQIm0dzpwgbOgCzsUga/PueclTnFrlf3D Gf7I7TPKJOF+cx6878zS5zUOgXhPNf4N5tB7wPUsIahMVcoSMhH6kOoVDoz+wcEbjeYL NgQ4CncpsKcCfaAqz2flPihT1ZO79xpuxJcG3AqAbY2Y5HQS0ddXpfcs8DR5pNEBRee3 JJcg== X-Gm-Message-State: AJcUukdenX8pcR1HgH7TOFB8Euklk+PTMsL2tfQv3Zl1lNbLj6pyawOC hfCPooR3x+JWq0qyWRQV141R0Q== X-Received: by 2002:a1c:2d4b:: with SMTP id t72mr2095262wmt.99.1546964520246; Tue, 08 Jan 2019 08:22:00 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l20sm115623313wrb.93.2019.01.08.08.21.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 08:21:57 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id EB6CB3E11E5; Tue, 8 Jan 2019 16:21:54 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 8 Jan 2019 16:21:54 +0000 Message-Id: <20190108162154.22259-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108162154.22259-1-alex.bennee@linaro.org> References: <20190108162154.22259-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::344 Subject: [Qemu-devel] [PATCH v1 6/6] 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: cota@braap.org, =?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 diff --git a/tests/Makefile.include b/tests/Makefile.include index 69610c0ed1..efbfe7708a 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" @@ -959,6 +960,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)) @@ -991,7 +1004,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) @@ -1072,7 +1085,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR) .PHONY: check-qapi-schema check-qtest check-unit check check-clean check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tests/qapi-schema/doc-good.texi check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) -check-unit: $(patsubst %,check-%, $(check-unit-y)) +check-unit: $(patsubst %,check-%, $(check-unit-y)) check-softfloat check-speed: $(patsubst %,check-%, $(check-speed-y)) check-block: $(patsubst %,check-%, $(check-block-y)) check: check-qapi-schema check-unit check-qtest check-decodetree