From 8e8e8b86fe1dd438072313508dc1e0ec20f41caf Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Wed, 5 Sep 2018 05:32:04 -0700 Subject: [PATCH] Rename input files for arm relocation test to be more consistent --- ...{simple_arm_llvm.elf => arm_reloc_relocated.elf} | Bin .../{simple.c => arm_reloc_source.c} | 0 ...oc_simple_arm_llvm.o => arm_reloc_unrelocated.o} | Bin test_arm_call_reloc.py | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename test/testfiles_for_unittests/{simple_arm_llvm.elf => arm_reloc_relocated.elf} (100%) rename test/testfiles_for_unittests/{simple.c => arm_reloc_source.c} (100%) rename test/testfiles_for_unittests/{reloc_simple_arm_llvm.o => arm_reloc_unrelocated.o} (100%) diff --git a/test/testfiles_for_unittests/simple_arm_llvm.elf b/test/testfiles_for_unittests/arm_reloc_relocated.elf similarity index 100% rename from test/testfiles_for_unittests/simple_arm_llvm.elf rename to test/testfiles_for_unittests/arm_reloc_relocated.elf diff --git a/test/testfiles_for_unittests/simple.c b/test/testfiles_for_unittests/arm_reloc_source.c similarity index 100% rename from test/testfiles_for_unittests/simple.c rename to test/testfiles_for_unittests/arm_reloc_source.c diff --git a/test/testfiles_for_unittests/reloc_simple_arm_llvm.o b/test/testfiles_for_unittests/arm_reloc_unrelocated.o similarity index 100% rename from test/testfiles_for_unittests/reloc_simple_arm_llvm.o rename to test/testfiles_for_unittests/arm_reloc_unrelocated.o diff --git a/test_arm_call_reloc.py b/test_arm_call_reloc.py index 685cd71..cb52419 100755 --- a/test_arm_call_reloc.py +++ b/test_arm_call_reloc.py @@ -35,8 +35,8 @@ def do_relocation(rel_elf): class TestARMRElocation(unittest.TestCase): def test_reloc(self): test_dir = os.path.joinjoin('test', 'testfiles_for_unittests') - with open(join(test_dir, 'reloc_simple_arm_llvm.o'), 'rb') as rel_f, \ - open(join(test_dir, 'simple_arm_llvm.elf'), 'rb') as f: + with open(join(test_dir, 'arm_reloc_unrelocated.o'), 'rb') as rel_f, \ + open(join(test_dir, 'arm_reloc_relocated.elf'), 'rb') as f: rel_elf = ELFFile(rel_f) elf = ELFFile(f) -- 2.30.2