From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id xP/mGpakVWNm1A8AWB0awg (envelope-from ) for ; Sun, 23 Oct 2022 16:31:18 -0400 Received: by simark.ca (Postfix, from userid 112) id 5D2AF1E112; Sun, 23 Oct 2022 16:31:18 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=pGdj+Xmh; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EAC891E0D5 for ; Sun, 23 Oct 2022 16:31:17 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 91A033856DFE for ; Sun, 23 Oct 2022 20:31:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91A033856DFE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666557074; bh=5H3ur2FirVNTCP0c3J31hjauI04gC1FubHwxUGQLKag=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=pGdj+XmhNZ/i2pErQTFmDNYZXzH1ivQEmygG1dDnWxZoT5wmHz5bkOlxFWVTZb9jc hwmXCtAmV/58ZFbjtQNH/EClAAlj2vZHjOi4LGpnlOpiqPiyVNXRPDziUW2gvuTb9l vQcuBh6oVcXKmNwRu3J5ha5weMZTLXf4cGcpHbWY= Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 730D0385702C for ; Sun, 23 Oct 2022 20:30:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 730D0385702C Received: by smtp.gentoo.org (Postfix, from userid 559) id 51C44340FA7; Sun, 23 Oct 2022 20:30:54 +0000 (UTC) Date: Mon, 24 Oct 2022 01:01:28 +0545 To: Tsukasa OI Subject: Re: [RESEND PATCH 0/1] sim/testsuite: Trim extra path from arch Message-ID: Mail-Followup-To: Tsukasa OI , Andrew Burgess , Nelson Chu , Kito Cheng , gdb-patches@sourceware.org References: <28df7073ec5a8f601ba47c9d2f7d4a7a0ce08753.1657795051.git.research_trasio@irq.a4lg.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2KCrJLnSgjqN3/GH" Content-Disposition: inline In-Reply-To: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: Nelson Chu , Kito Cheng , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" --2KCrJLnSgjqN3/GH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 27 Aug 2022 01:53, Tsukasa OI wrote: > The patch is a RESEND of > > but to the right mailing list and completely new cover letter. please clean up the patch and send it out standalone -- no need for a cover letter, and the relevant details should all be in the patch itself. > 1. Configure Binutils with aarch64-unknown-elf and build it > /src/binutils/configure \ > --target=aarch64-unknown-elf \ > --prefix=/opt/cross/aarch64-unknown-elf \ > --enable-multilib > && make > 2. Run `make check-sim' and confirmed that the simulator tests "pass" > 3. Intentionally try to fail the test by modifying > `sim/testsuite/aarch64/pass.s' > (replace the last line from "pass" to "fail") > 4. Run `make check-sim' and "confirmed" that the simulator tests "pass" since i don't have the same paths as you, i didn't run the same configure. but using --target=aarch64-elf and running `make check-sim` with -j1 vs -j4 doesn't show any behavior difference. all the tests are found & run. if i add an error to one of the tests like you did, it fails in both modes. $ runtest --version DejaGnu version 1.6.3 Expect version 5.45.4 Tcl version 8.6 > However, this block doesn't work because the `arch' variable returned by > the `sim_arch' function is "./aarch64". That is supposed to be "aarch64". i don't mind fixing sim_arch, but this really should be fixed too. we shouldn't be in a situation where "./aarch64" is present as an input. seems easy enough to do so i pushed a patch for it. -mike --2KCrJLnSgjqN3/GH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNVkwwACgkQQWM7n+g3 9YFUTQ/+PZQBNDxLA1T+3YFvgaptg6agJq0s5Ht+Ax6rVyH+JuihkTReB6tQMwEi Ft6ZAclsuFtGnj9QvIeg25LgnkWYghy325kISybs2ue90MlLaNmi+7Fk1LPAFEMc kD6P+lA3BXYHoWTA1mE69IMjaBGCdg63DkC3c/P1QofWUdDchKaiWOlVgNrjkNw9 XJkAmcxHRjCI3GI5IZ9IFEDQJ1rb5KjtL0zhygVH+eYOFqyS17lX5ZIWma7yzAS/ RBPeLg2oUNA3l/hlQc5bDqfaqVgXtzEH9z6YzIEvUUYR0jUltR0mK6lJ2N35OcLD 18Al+Bv8IMLC6RWXRlPe4noDLClb+wKXx95+ydu5m+FMnPUhp3/yh2PupBBh3z6a qfRtp+sE+Juhd1yZn7OAfdGO3WzTcPxd21FmILCqSnNXOGv3SdLQuCVlnjILkCs5 CLtPqYVApHBAtcDnrNCjFZXiXL5754AHFy6xjZvvR8YuqM6SBT0BnyO2tkBIvKZO 5fvbSOEXohin3IXpBhGsZA2u0f2dBiQOpLcK3kqly9RhlRZvt8aOD6speopFLkwF SFXq97G5ynqSRXPTvjfjg5GvQSrhSKcqfqAlKxq4/K738WFgbgWuPSVki09MF3Dq sWsUf+DYhk1ggQhUj4vEbPKsNHUeQ0hR785HRhBpGN5sHZwXdq0= =36yJ -----END PGP SIGNATURE----- --2KCrJLnSgjqN3/GH--