From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id EFDE63858C41 for ; Thu, 26 Oct 2023 18:57:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EFDE63858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EFDE63858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::42d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698346659; cv=none; b=ek9MZhfM2OBtsWKtLgmLfVRK6LzTI28icz5pg/kPTMzR2LyaVin3zrHiZUgniXxqnwMK4QIfVJnQrX6tkfDy7NAvkPKddmI5XB8kXjlzYmCEtgUXwlBFRDoMIpOJmgGOxvJMAcdfOf+otorNUrKcHa9TSXyPEOnOFEH1cx5eu8A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698346659; c=relaxed/simple; bh=Sd5K7SM1MO0TgGO5mnidVX7J4MH8xXa9OoO9v1BmQJ4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=foh1LB+kArBwE+nqtwQ2JprQzjDQiAfH480T/1vFfpri8Dubg9l+vuMGiCfZ6M/CICHZFrGEgSkEBJlqI0Ns5IUmxvXSzF5uXGB1cLkPFwkaZiKiusb5ojCw97h5vIkKkNUPP8VjTsWiHNjCVmH5bBkZypmQtCEQADt8m/gJw6U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-32db188e254so854668f8f.0 for ; Thu, 26 Oct 2023 11:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698346655; x=1698951455; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=yKIE26anLN7hTSkqQ+JycUou+l/cOwsxq8p52XnIwpI=; b=iXL0BO1aQoG9CtdsbYU6I5WAKg7taxWg+Ifctxl4F1/6KU5ffltDPyNLT8czj8DR/P JrYev+sW7W+YLS1rppF425idslRZvEUxMCn4AOGEfC2fPEkwOUutLzkUcLnLNVgQBJWc BBF4cTicFlGtYv4xyKxEyJHUHsem5BQsv75LXF+uD1ArGjvb4dqG9soCu6KN5rMvAbQ1 cegK0Mjh6I7HnJwHWWcVTgRjPRKgNLEYFcEL/i7QD/PJzHL2rs+tu51AAo/kyR692GMZ fioHYxDOA3JCZ9RGE4fgUXxRzUHs7xFyGIKOgzvRXBuzdaIKF2dQfDuMvSjZhtSqYG0L zJNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698346655; x=1698951455; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yKIE26anLN7hTSkqQ+JycUou+l/cOwsxq8p52XnIwpI=; b=UcxNpppkdvq6Jcrl4h6kHAhGaSlIq5mWvVLQKY0b5TJ3ooLkodBWqP4hc4u3XO1vX8 T4M1lrPatvodiRE61V9FbeFL7sTeg2x+tkibo/I94N3l3Cm1hOEsAW842ZQMQoEspTeu bGIJ8uPMFPOfY8jHqwOUWPT+7qFs48lWGM1IitLdCRqg+kHlSIkAPy7lfzh21ASEiMOm pZER+RaktkGVyusz+dn7i9f7a8XpuPuHGtcozBH4egVaMrisq7bY9F2XfF/7JjCOFa6T g3TsrmyMj+PguWv4bVfyvZAPgjzvhktayXne8p8RLCPPNS0lkg89taiZCLQfDuQg2At1 JY8Q== X-Gm-Message-State: AOJu0YzFFh+yBDTK9tS9dNfEmJYzA83oPKAQftWMdk4Thx/DgwNncYdO mxcp1yQRXcxijL//TSTnZgD0e48j1ww= X-Google-Smtp-Source: AGHT+IF+tf6C6x0UTpxn/zbiUIYCTjaUXZRX2V/S8vuro17i6Jwa5N9ST3SdpwRuncuw32jENd8u9A== X-Received: by 2002:adf:f0c9:0:b0:32d:a3c5:ea7b with SMTP id x9-20020adff0c9000000b0032da3c5ea7bmr385977wro.44.1698346655373; Thu, 26 Oct 2023 11:57:35 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id k23-20020a5d5257000000b0032db8cccd3asm41338wrc.114.2023.10.26.11.57.34 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 26 Oct 2023 11:57:35 -0700 (PDT) From: Iain Sandoe X-Google-Original-From: Iain Sandoe To: gcc-patches@gcc.gnu.org Cc: richard.sandiford@arm.com Subject: [PATCH] testsuite, aarch64: Normalise options to aarch64.exp. Date: Thu, 26 Oct 2023 19:57:34 +0100 Message-Id: <20231026185734.56102-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.39.2 (Apple Git-143) Reply-To: iain@sandoe.co.uk MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: tested on cfarm185 (aarch64-linux-gnu, xgene1) and with the aarch64 Darwin prototype. It is possible that some initial fallout could occur on some test setups (where the default has been catered for in some way) - but that should stabilize. OK for trunk? thanks Iain --- 8< --- When the compiler is configured --with-cpu= and that is different from the baselines assumed, we see excess test fails (primarly in body code scans which are necessarily sensitive to costs). To stabilize the testsuite against such changes, use aarch64-with-arch-dg-options () to provide suitable consistent defaults. e.g. for --with-cpu=xgene1 we see over 100 excess fails which are removed by this change. gcc/testsuite/ChangeLog: * gcc.target/aarch64/aarch64.exp: Use aarch64-with-arch-dg-options to normaize the options to the tests in aarch64.exp. Signed-off-by: Iain Sandoe --- gcc/testsuite/gcc.target/aarch64/aarch64.exp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/gcc.target/aarch64/aarch64.exp b/gcc/testsuite/gcc.target/aarch64/aarch64.exp index bd306e3b288..7612ea704e5 100644 --- a/gcc/testsuite/gcc.target/aarch64/aarch64.exp +++ b/gcc/testsuite/gcc.target/aarch64/aarch64.exp @@ -37,9 +37,10 @@ if ![info exists DEFAULT_CFLAGS] then { # Initialize `dg'. dg-init -# Main loop. -dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \ - "" $DEFAULT_CFLAGS - +aarch64-with-arch-dg-options "" { + # Main loop. + dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \ + "" $DEFAULT_CFLAGS +} # All done. dg-finish -- 2.39.2 (Apple Git-143)