public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] tests, config: Add more .gitignore files
@ 2024-03-28 23:43 Mark Wielaard
  2024-04-01 21:19 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2024-03-28 23:43 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

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(-)

diff --git a/config/.gitignore b/config/.gitignore
index 8cd8ccdbf3c1..b7897159babf 100644
--- a/config/.gitignore
+++ b/config/.gitignore
@@ -11,5 +11,6 @@
 /missing
 /profile.csh
 /profile.sh
+/profile.fish
 /test-driver
 /ylwrap
diff --git a/tests/.gitignore b/tests/.gitignore
index 0289959d73d5..772c7881ae3f 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -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
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 344d6706e16e..40e0eaa5a368 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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.
-- 
2.39.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests, config: Add more .gitignore files
  2024-03-28 23:43 [PATCH] tests, config: Add more .gitignore files Mark Wielaard
@ 2024-04-01 21:19 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2024-04-01 21:19 UTC (permalink / raw)
  To: elfutils-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-01 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 23:43 [PATCH] tests, config: Add more .gitignore files Mark Wielaard
2024-04-01 21:19 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).