Add back empty_pubtypes dir, and include *.common test files too
authorEli Bendersky <eliben@gmail.com>
Tue, 9 Aug 2022 23:23:37 +0000 (16:23 -0700)
committerEli Bendersky <eliben@gmail.com>
Tue, 9 Aug 2022 23:23:37 +0000 (16:23 -0700)
MANIFEST.in
test/testfiles_for_unittests/empty_pubtypes/Makefile [new file with mode: 0644]
test/testfiles_for_unittests/empty_pubtypes/main.c [new file with mode: 0644]
test/testfiles_for_unittests/empty_pubtypes/main.elf [new file with mode: 0644]

index d0eb0ad8de360951eee1b8456454aa3008313c2d..3c6d2e127121cd02357d58d7568519fe567ce92a 100644 (file)
@@ -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 (file)
index 0000000..c53964f
--- /dev/null
@@ -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 (file)
index 0000000..ab73b3a
--- /dev/null
@@ -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 (file)
index 0000000..9a3c2c1
Binary files /dev/null and b/test/testfiles_for_unittests/empty_pubtypes/main.elf differ