88
99class TestRangeLists (unittest .TestCase ):
1010 def test_arange_absent (self ):
11- with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_absent.elf' ), 'rb' ) as f :
11+ with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_absent.so. elf' ), 'rb' ) as f :
1212 elffile = ELFFile (f )
1313 self .assertTrue (elffile .has_dwarf_info ())
1414 aranges = elffile .get_dwarf_info ().get_aranges ()
1515 self .assertIsNone (aranges )
1616
1717 def test_arange_partial (self ):
18- with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_partial.elf' ), 'rb' ) as f :
18+ with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_partial.so. elf' ), 'rb' ) as f :
1919 elffile = ELFFile (f )
2020 self .assertTrue (elffile .has_dwarf_info ())
2121 aranges = elffile .get_dwarf_info ().get_aranges ()
@@ -24,7 +24,7 @@ def test_arange_partial(self):
2424 self .assertIsNotNone (aranges .cu_offset_at_addr (address_b ))
2525
2626 def test_arange_complete (self ):
27- with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_complete.elf' ), 'rb' ) as f :
27+ with open (os .path .join ('test' , 'testfiles_for_unittests' , 'aranges_complete.so. elf' ), 'rb' ) as f :
2828 elffile = ELFFile (f )
2929 self .assertTrue (elffile .has_dwarf_info ())
3030 aranges = elffile .get_dwarf_info ().get_aranges ()
0 commit comments