diff mbox series

selftests: bpf: Add files generated when compiled to .gitignore

Message ID 20190512035009.25451-1-skunberg.kelsey@gmail.com (mailing list archive)
State New
Headers show
Series selftests: bpf: Add files generated when compiled to .gitignore | expand

Commit Message

Kelsey May 12, 2019, 3:50 a.m. UTC
The following files are generated when /selftests/bpf/ is compiled and
should be added to .gitignore:

	- libbpf.pc
	- libbpf.so.0
	- libbpf.so.0.0.3

Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
---
 tools/testing/selftests/bpf/.gitignore | 3 +++
 1 file changed, 3 insertions(+)

--
2.20.1

Comments

Stanislav Fomichev May 12, 2019, 6:29 a.m. UTC | #1
On 05/11, Kelsey Skunberg wrote:
> The following files are generated when /selftests/bpf/ is compiled and
> should be added to .gitignore:
> 
> 	- libbpf.pc
> 	- libbpf.so.0
> 	- libbpf.so.0.0.3
> 
> Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
> ---
>  tools/testing/selftests/bpf/.gitignore | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
> index 41e8a689aa77..ceb11f98fe4f 100644
> --- a/tools/testing/selftests/bpf/.gitignore
> +++ b/tools/testing/selftests/bpf/.gitignore
> @@ -32,3 +32,6 @@ test_tcpnotify_user
>  test_libbpf
>  test_tcp_check_syncookie_user
>  alu32
> +libbpf.pc

[..]
> +libbpf.so.0
> +libbpf.so.0.0.3
How about libbpf.so.* so we don't have to update it on every release?

> --
> 2.20.1
>
Kelsey May 12, 2019, 7:34 a.m. UTC | #2
On Sat, May 11, 2019 at 11:29:07PM -0700, Stanislav Fomichev wrote:
> On 05/11, Kelsey Skunberg wrote:
> > The following files are generated when /selftests/bpf/ is compiled and
> > should be added to .gitignore:
> > 
> > 	- libbpf.pc
> > 	- libbpf.so.0
> > 	- libbpf.so.0.0.3
> > 
> > Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
> > ---
> >  tools/testing/selftests/bpf/.gitignore | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
> > index 41e8a689aa77..ceb11f98fe4f 100644
> > --- a/tools/testing/selftests/bpf/.gitignore
> > +++ b/tools/testing/selftests/bpf/.gitignore
> > @@ -32,3 +32,6 @@ test_tcpnotify_user
> >  test_libbpf
> >  test_tcp_check_syncookie_user
> >  alu32
> > +libbpf.pc
> 
> [..]
> > +libbpf.so.0
> > +libbpf.so.0.0.3
> How about libbpf.so.* so we don't have to update it on every release?
>

That seems logical. Updated in v2. I appreciate the feedback!

Cheers,
Kelsey

> > --
> > 2.20.1
> >
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index 41e8a689aa77..ceb11f98fe4f 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -32,3 +32,6 @@  test_tcpnotify_user
 test_libbpf
 test_tcp_check_syncookie_user
 alu32
+libbpf.pc
+libbpf.so.0
+libbpf.so.0.0.3