Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed Jan 4, 2024
1 parent 8677430 commit 2cc8ad9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_decomp_unmatched.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,8 @@ def test_diff_ntoskrnl_decomp_unmatched(shared_datadir: Path):
max_section_funcs=args.max_section_funcs,
md_title=args.md_title)

if d.get_ghidra_version() < '11.0':
# decomp match only happens when BSIM isn't there
assert pdiff['stats']['match_types']['Decomp Match'] == 29
else:
assert pdiff['stats']['match_types']['Decomp Match'] == 0

assert pdiff['stats']['match_types']['Decomp Match'] == 29

assert len(pdiff['functions']['added']) == 0
assert len(pdiff['functions']['deleted']) == 0
Expand Down

0 comments on commit 2cc8ad9

Please sign in to comment.