From nobody Tue Feb 10 01:34:51 2026 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 ARC-Seal: i=1; a=rsa-sha256; t=1568388105; cv=none; d=zoho.com; s=zohoarc; b=XNZDF15uwfI8KoMWFjF/Q/fvPbU7nh739donqLSqtJT/jOJZ5NO/9mODvUi9N8/u4OexDPRTTUjsPFhXDmj7U6ZBvhMxYQI0sHsWLZxjCvD0QhaXodGLYAUMiaJfoXhJuQqBB6JNdtk9S+vJrBf9wDtSSejfD0cck/RYpXGc5dI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568388105; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=qkrQNPdYjgzsGeZKliHj5m6aTSoldYZ7J5gDgev0N24=; b=kNsolWrL2ffEr+EKmsY5XjlSDQxUkDq0CWNAzhJ3Wn8rfYCbyg0KaFfqmkDuI7YC5+GXSoC+tcCr065h92lkQDwQ0/jtC1CZnG0/mln2ZJeIobTmDWdZGZdEplusMmZTTImid8O1duL7qDz00QKyLHhejuU3f2jL4wBtR2EwbAY= ARC-Authentication-Results: i=1; mx.zoho.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568388105478448.9494871985746; Fri, 13 Sep 2019 08:21:45 -0700 (PDT) Received: from localhost ([::1]:45108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8nOK-0001Cp-2r for importer@patchew.org; Fri, 13 Sep 2019 11:21:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52056) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8nLW-0007cF-7R for qemu-devel@nongnu.org; Fri, 13 Sep 2019 11:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8nLU-0000JD-Uy for qemu-devel@nongnu.org; Fri, 13 Sep 2019 11:18:50 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:54085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8nLU-0000IZ-OU for qemu-devel@nongnu.org; Fri, 13 Sep 2019 11:18:48 -0400 Received: by mail-wm1-x342.google.com with SMTP id q18so3189309wmq.3 for ; Fri, 13 Sep 2019 08:18:48 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r18sm32090869wrx.36.2019.09.13.08.18.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 08:18:46 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 86ABB1FF8C; Fri, 13 Sep 2019 16:18:45 +0100 (BST) 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=qkrQNPdYjgzsGeZKliHj5m6aTSoldYZ7J5gDgev0N24=; b=EU1qUetOU0pLY8bfY2VPwp6pm7Duz9HzhCyXxdYas1bRV4WwdsLbAlkzCDzUvFNNXa t1XdwPw+9QgI8EpWESEW02kCCIh6STzT7M/0dJ3snbd9jB8OX0CnQTWsXu6cYOvN23Zt ZV0Iue4n7kSkaM30xrNzHPHn320p4cxGpg4F0bhwVRwjVHlZayGx4oZ7MXQoa9E4IXeK hdbHA9ke6864qcA27QKY0SMNNeMox65EshHLW0dVxLRlkfWVHkag2ZykJ4uyLAnqNVMh P+LfcG+5i7kw6j44Okh4ixCoGVcV4NJMBBsKhEVy7B2M35cM6DRzLzNi3/KqExGIpPa0 Jv5A== 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=qkrQNPdYjgzsGeZKliHj5m6aTSoldYZ7J5gDgev0N24=; b=hCwUYNwyjuarV4+droNzLSjJx4BZC36Ru9s3dIYdt141V7pbKLnk4h4m/h53ficedY mzAFF+PdGUPiFqYDa7MTs1ddfA49utXUWyBtN+tXP9baCSvriqxWsAyGK1e8k6AMeKtH Q2r7Or3QWPoEh5QTaTNc1azQWVS2cBq07vfRM1QORoju4uvLW2L7ZRbU2EkSJqAdJu73 UjtX4DQuVIFDd9+gUirKn1x26DKV30q/arbV3rzdFQb7ZMUL9NXHSkl3iqEr9GmYcDfz 54IHRn7SCUcvN4gnlsR/euTs4vEUY1gCK4Pj06zoqyxPXvHjbtiXq+K+3Pj4dvkPpem2 s+9w== X-Gm-Message-State: APjAAAUnvHhKhfOlhITiYHDXv2s1QOiAhyHqllhccHNUf6uLRJijb9Zi zAUcoGcZ19p/OsteClHH+khu3w== X-Google-Smtp-Source: APXvYqzLEzYYSCt7zh5+odjfnwIE1KnIWwRED+WSrx/N1qUUh/XeaKYy46rtXvfgH0Jzutc9ejC51A== X-Received: by 2002:a7b:cf25:: with SMTP id m5mr3831855wmg.25.1568387927507; Fri, 13 Sep 2019 08:18:47 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 13 Sep 2019 16:18:40 +0100 Message-Id: <20190913151845.12582-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190913151845.12582-1-alex.bennee@linaro.org> References: <20190913151845.12582-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 v6 1/6] tests/tcg: clean-up some comments after the de-tangling X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) These were missed in the recent de-tangling so have been updated to be more actuate. I've also built up ARM_TESTS in a manner similar to AARCH64_TESTS for better consistency. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Peter Maydell --- tests/tcg/Makefile.target | 7 +++++-- tests/tcg/aarch64/Makefile.target | 3 ++- tests/tcg/arm/Makefile.target | 15 ++++++++------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 8808beaf74b..679eb56bd37 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -74,8 +74,11 @@ TIMEOUT=3D15 endif =20 ifdef CONFIG_USER_ONLY -# The order we include is important. We include multiarch, base arch -# and finally arch if it's not the same as base arch. +# The order we include is important. We include multiarch first and +# then the target. If there are common tests shared between +# sub-targets (e.g. ARM & AArch64) then it is up to +# $(TARGET_NAME)/Makefile.target to include the common parent +# architecture in its VPATH. -include $(SRC_PATH)/tests/tcg/multiarch/Makefile.target -include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target =20 diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile= .target index e763dd9da37..9758f89f905 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -8,7 +8,7 @@ VPATH +=3D $(ARM_SRC) AARCH64_SRC=3D$(SRC_PATH)/tests/tcg/aarch64 VPATH +=3D $(AARCH64_SRC) =20 -# we don't build any other ARM test +# Float-convert Tests AARCH64_TESTS=3Dfcvt =20 fcvt: LDFLAGS+=3D-lm @@ -17,6 +17,7 @@ run-fcvt: fcvt $(call run-test,$<,$(QEMU) $<, "$< on $(TARGET_NAME)") $(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref) =20 +# Pauth Tests AARCH64_TESTS +=3D pauth-1 pauth-2 run-pauth-%: QEMU_OPTS +=3D -cpu max =20 diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index aa4e4e3782c..7347d3d0adb 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,25 +8,26 @@ ARM_SRC=3D$(SRC_PATH)/tests/tcg/arm # Set search path for all sources VPATH +=3D $(ARM_SRC) =20 -ARM_TESTS=3Dhello-arm test-arm-iwmmxt - -TESTS +=3D $(ARM_TESTS) fcvt - +# Basic Hello World +ARM_TESTS =3D hello-arm hello-arm: CFLAGS+=3D-marm -ffreestanding hello-arm: LDFLAGS+=3D-nostdlib =20 +# IWMXT floating point extensions +ARM_TESTS +=3D test-arm-iwmmxt test-arm-iwmmxt: CFLAGS+=3D-marm -march=3Diwmmxt -mabi=3Daapcs -mfpu=3Dfpv= 4-sp-d16 test-arm-iwmmxt: test-arm-iwmmxt.S $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) =20 -ifeq ($(TARGET_NAME), arm) +# Float-convert Tests +ARM_TESTS +=3D fcvt fcvt: LDFLAGS+=3D-lm # fcvt: CFLAGS+=3D-march=3Darmv8.2-a+fp16 -mfpu=3Dneon-fp-armv8 - run-fcvt: fcvt $(call run-test,fcvt,$(QEMU) $<,"$< on $(TARGET_NAME)") $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref) -endif + +TESTS +=3D $(ARM_TESTS) =20 # On ARM Linux only supports 4k pages EXTRA_RUNS+=3Drun-test-mmap-4096 --=20 2.20.1