tests, config: Add more .gitignore files
Commit Message
Some new tests and one configure file weren't in .gitignore. Also
we made a copy of libelf.h in tests/ which should be an symlink.
* config/.gitignore: Add profile.fish.
* tests/.gitignore: Add funcretval_test_struct, libelf.h
and system-elf-gelf-test.
* tests/Makefile.am (libelf.h): Make symlink instead of copy.
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
config/.gitignore | 1 +
tests/.gitignore | 3 +++
tests/Makefile.am | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
Comments
On Fri, Mar 29, 2024 at 12:43:08AM +0100, Mark Wielaard wrote:
> Some new tests and one configure file weren't in .gitignore. Also
> we made a copy of libelf.h in tests/ which should be an symlink.
>
> * config/.gitignore: Add profile.fish.
> * tests/.gitignore: Add funcretval_test_struct, libelf.h
> and system-elf-gelf-test.
> * tests/Makefile.am (libelf.h): Make symlink instead of copy.
Pushed to main.
@@ -11,5 +11,6 @@
/missing
/profile.csh
/profile.sh
+/profile.fish
/test-driver
/ylwrap
@@ -71,6 +71,7 @@
/find-prologues
/funcretval
/funcretval_test++11
+/funcretval_test_struct
/funcscopes
/get-aranges
/get-files
@@ -81,6 +82,7 @@
/getphdrnum
/getsrc_die
/hash
+/libelf.h
/leb128
/line2addr
/low_high_pc
@@ -104,6 +106,7 @@
/showptable
/strptr
/system-elf-libelf-test
+/system-elf-gelf-test
/test-elf_cntl_gelf_getshdr
/test-flag-nobits
/test-nlist
@@ -841,7 +841,7 @@ declfiles_LDADD = $(libdw)
BUILT_SOURCES = libelf.h
CLEANFILES += libelf.h
libelf.h: $(top_srcdir)/libelf/libelf.h
- cp $< $@
+ ln -s $< $@
if !INSTALL_ELFH
system_elf_libelf_test_CPPFLAGS =
system_elf_gelf_test_CPPFLAGS = -I.