public inbox for bunsen@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove grok_architecture call from gdb.commit_logs.commit_logs
@ 2021-08-05 18:42 Keith Seitz
  2021-08-05 19:28 ` Serhei Makarov
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2021-08-05 18:42 UTC (permalink / raw)
  To: bunsen

`grok_architecture' is called from gdb's commit_logs function.
However at this moment, we actually can't do anything to ascertain
the architecture. This function is currently passing the `testdir'
variable, which is non-sensical.

Architecture is actually grok'd in annotate_dejagnu_log, so simply
remove the call here.
---
 scripts-main/gdb/commit_logs.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts-main/gdb/commit_logs.py b/scripts-main/gdb/commit_logs.py
index a8edb14..1c23c2f 100755
--- a/scripts-main/gdb/commit_logs.py
+++ b/scripts-main/gdb/commit_logs.py
@@ -218,7 +218,6 @@ def commit_logs(b, wd, *args, **kwargs):
     gdb_sum = pick_testlog(testdir, tmpdir, 'gdb.sum') # XXX parser autodetects .xz
     gdb_log = pick_testlog(testdir, tmpdir, 'gdb.log') # XXX parser autodetects .xz
     testrun = parse_README(testrun, gdb_README)
-    testrun.arch = grok_architecture(testdir)
     testrun.osver = osver
     testrun = parse_dejagnu_sum(testrun, gdb_sum, all_cases=all_cases)
     testrun = annotate_dejagnu_log(testrun, gdb_log, all_cases, verbose=False)
-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-05 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 18:42 [PATCH] Remove grok_architecture call from gdb.commit_logs.commit_logs Keith Seitz
2021-08-05 19:28 ` Serhei Makarov
2021-08-05 19:48   ` Keith Seitz

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).