public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing
@ 2022-03-18 17:19 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2022-03-18 17:19 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a2211c76c3b994099fd58a06d6072d7495d699cd

commit a2211c76c3b994099fd58a06d6072d7495d699cd
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Mar 18 18:18:35 2022 +0100

    scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing
    
    The elf/dso-sort-tests-src subdirectory is not changed by this commit,
    so it seems that the cut-and-paste error was not material.
    
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

Diff:
---
 scripts/dso-ordering-test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py
index 0b526aff45..2dd6bfda18 100644
--- a/scripts/dso-ordering-test.py
+++ b/scripts/dso-ordering-test.py
@@ -551,17 +551,17 @@ def process_testcase(t):
         if obj in t.deps:
             deps = t.deps[obj]
             if '*' in deps:
-                t.deps[obj].remove('*')
+                deps.remove('*')
                 t.add_deps([obj], non_dep_tgt_objs)
         if obj in t.callrefs:
             deps = t.callrefs[obj]
             if '*' in deps:
-                t.deps[obj].remove('*')
+                deps.remove('*')
                 t.add_callrefs([obj], non_dep_tgt_objs)
     if "#" in t.deps:
         deps = t.deps["#"]
         if '*' in deps:
-            t.deps["#"].remove('*')
+            deps.remove('*')
             t.add_deps(["#"], non_dep_tgt_objs)
 
     # If no main program was specified in dependency description, make a


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-18 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 17:19 [glibc] scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing Florian Weimer

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