From: Tsukasa OI <research_trasio@irq.a4lg.com>
To: Tsukasa OI <research_trasio@irq.a4lg.com>,
Andrew Burgess <aburgess@redhat.com>,
Mike Frysinger <vapier@gentoo.org>,
Nelson Chu <nelson@rivosinc.com>,
Kito Cheng <kito.cheng@sifive.com>
Cc: gdb-patches@sourceware.org
Subject: [RESEND PATCH 1/1] sim/testsuite: Trim extra path from arch
Date: Sat, 27 Aug 2022 01:53:02 +0000 [thread overview]
Message-ID: <0533345d3b6e0666bd383413e77bd5192f9b2565.1661565178.git.research_trasio@irq.a4lg.com> (raw)
In-Reply-To: <cover.1661565178.git.research_trasio@irq.a4lg.com>
If subdir begins with "./", sim_arch returned "./ARCH" instead of
"ARCH" and target-specific check-sim is prevented. This commit fixes
the issue to make `make check-sim' work.
sim/ChangeLog:
* testsuite/lib/sim-defs.exp: Fix return value of sim_arch.
---
sim/testsuite/lib/sim-defs.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp
index 5528d64684b..6d8f0134089 100644
--- a/sim/testsuite/lib/sim-defs.exp
+++ b/sim/testsuite/lib/sim-defs.exp
@@ -14,7 +14,7 @@ proc sim_arch {} {
while { [file dirname $arch] != "." } {
set arch [file dirname $arch]
}
- return "$arch"
+ return [file tail $arch]
}
# Initialize the testrun.
--
2.34.1
next prev parent reply other threads:[~2022-08-27 1:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <28df7073ec5a8f601ba47c9d2f7d4a7a0ce08753.1657795051.git.research_trasio@irq.a4lg.com>
2022-08-27 1:53 ` [RESEND PATCH 0/1] " Tsukasa OI
2022-08-27 1:53 ` Tsukasa OI [this message]
2022-09-14 10:56 ` [PING^2 " Tsukasa OI
2022-09-14 10:56 ` [PING^2 PATCH 1/1] " Tsukasa OI
2022-09-21 16:02 ` [PING^3 PATCH 0/1] sim/testsuite: Fix broken "make check-sim" by trimming excess " Tsukasa OI
2022-09-21 16:02 ` [PING^3 PATCH 1/1] sim/testsuite: Trim extra " Tsukasa OI
2022-10-09 3:55 ` [PING^4 PATCH 0/1] sim/testsuite: PR29596, Fix broken "make check-sim" by trimming excess " Tsukasa OI
2022-10-09 3:55 ` [PING^4 PATCH 1/1] sim/testsuite: PR29596, Trim extra " Tsukasa OI
2022-10-11 11:06 ` [PING^4 PATCH 0/1] sim/testsuite: PR29596, Fix broken "make check-sim" by trimming excess " Andrew Burgess
2022-10-12 5:39 ` Tsukasa OI
2022-10-16 13:01 ` Tsukasa OI
2022-10-23 19:16 ` [RESEND PATCH 0/1] sim/testsuite: Trim extra " Mike Frysinger
2022-10-24 6:31 ` Tsukasa OI
2022-10-24 7:33 ` Mike Frysinger
2022-10-23 19:16 ` [PATCH] sim: testsuite: tweak parallel find invocation [PR sim/29596] Mike Frysinger
2022-10-23 19:44 ` [PATCH] sim: testsuite: update ignored .exp files " Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0533345d3b6e0666bd383413e77bd5192f9b2565.1661565178.git.research_trasio@irq.a4lg.com \
--to=research_trasio@irq.a4lg.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=kito.cheng@sifive.com \
--cc=nelson@rivosinc.com \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).