Skip to content

Commit

Permalink
tests: fix match for get_map symbol (scikit-build#990)
Browse files Browse the repository at this point in the history
Wrong line could be matched by mistake, e.g.
    45: 0000000000010160     0 NOTYPE  LOCAL  DEFAULT   10 0000001a.plt_call.get_map
  • Loading branch information
keszybz authored May 30, 2023
1 parent 36c7a9c commit 14d6995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_issue668_symbol_visibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_symbol_visibility(skip_override):
# Looking for entries associated with get_map
# ex. 62: 0000000000001260 164 FUNC GLOBAL DEFAULT 14 get_map\n
# NOTE: We want to ignore get_map::id_to_resourse entries
if "get_map" in line and "get_map::" not in line:
if "get_map" in line.split():
print(line)
if skip_override == "ON":
assert "GLOBAL" in line
Expand Down

0 comments on commit 14d6995

Please sign in to comment.