From: Eli Bendersky Date: Tue, 9 Aug 2022 23:23:37 +0000 (-0700) Subject: Add back empty_pubtypes dir, and include *.common test files too X-Git-Tag: v0.29~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0777a631f04544fa17101d432cbd5ee14be6db90;p=pyelftools.git Add back empty_pubtypes dir, and include *.common test files too --- diff --git a/MANIFEST.in b/MANIFEST.in index d0eb0ad..3c6d2e1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,7 @@ recursive-include elftools *.py recursive-include scripts *.py recursive-include examples *.py *.elf *.out -recursive-include test *.py *.elf *.arm *.mips *.o *.so *.dat *.debug +recursive-include test *.py *.elf *.arm *.mips *.o *.so *.dat *.debug *.common include README.rst include LICENSE include CHANGES diff --git a/test/testfiles_for_unittests/empty_pubtypes/Makefile b/test/testfiles_for_unittests/empty_pubtypes/Makefile new file mode 100644 index 0000000..c53964f --- /dev/null +++ b/test/testfiles_for_unittests/empty_pubtypes/Makefile @@ -0,0 +1,2 @@ +main.elf: main.c + gcc -gpubnames -g -O0 main.c -o main.elf diff --git a/test/testfiles_for_unittests/empty_pubtypes/main.c b/test/testfiles_for_unittests/empty_pubtypes/main.c new file mode 100644 index 0000000..ab73b3a --- /dev/null +++ b/test/testfiles_for_unittests/empty_pubtypes/main.c @@ -0,0 +1 @@ +void main() {} diff --git a/test/testfiles_for_unittests/empty_pubtypes/main.elf b/test/testfiles_for_unittests/empty_pubtypes/main.elf new file mode 100644 index 0000000..9a3c2c1 Binary files /dev/null and b/test/testfiles_for_unittests/empty_pubtypes/main.elf differ