diff mbox series

selftests: update .gitignore files for selftests/bpf and selftests/zram

Message ID 20190919082902.GA15755@yogzotot (mailing list archive)
State New
Headers show
Series selftests: update .gitignore files for selftests/bpf and selftests/zram | expand

Commit Message

Anatoly Pugachev Sept. 19, 2019, 8:29 a.m. UTC
selftests: update .gitignore files for selftests/bpf and selftests/zram

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
---
 tools/testing/selftests/bpf/.gitignore  | 4 ++++
 tools/testing/selftests/zram/.gitignore | 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 tools/testing/selftests/zram/.gitignore

Comments

Alexei Starovoitov Sept. 19, 2019, 2:39 p.m. UTC | #1
On Thu, Sep 19, 2019 at 1:35 AM Anatoly Pugachev <matorola@gmail.com> wrote:
>
> selftests: update .gitignore files for selftests/bpf and selftests/zram
>
> Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
> ---
>  tools/testing/selftests/bpf/.gitignore  | 4 ++++
>  tools/testing/selftests/zram/.gitignore | 1 +
>  2 files changed, 5 insertions(+)
>  create mode 100644 tools/testing/selftests/zram/.gitignore

could you please split this patch into selftests/bpf/ and the rest?
we'll take bpf bits via bpf tree.
Shuah Sept. 19, 2019, 5:09 p.m. UTC | #2
On 9/19/19 8:39 AM, Alexei Starovoitov wrote:
> On Thu, Sep 19, 2019 at 1:35 AM Anatoly Pugachev <matorola@gmail.com> wrote:
>>
>> selftests: update .gitignore files for selftests/bpf and selftests/zram
>>
>> Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
>> ---
>>   tools/testing/selftests/bpf/.gitignore  | 4 ++++
>>   tools/testing/selftests/zram/.gitignore | 1 +
>>   2 files changed, 5 insertions(+)
>>   create mode 100644 tools/testing/selftests/zram/.gitignore
> 
> could you please split this patch into selftests/bpf/ and the rest?
> we'll take bpf bits via bpf tree.
> 

Yes. Please split them. .gitignore changes for each test need to be
in separate patches.

thanks,
-- Shuah
Anatoly Pugachev Sept. 27, 2019, 1:06 p.m. UTC | #3
On Thu, Sep 19, 2019 at 8:09 PM shuah <shuah@kernel.org> wrote:
>
> On 9/19/19 8:39 AM, Alexei Starovoitov wrote:
> > On Thu, Sep 19, 2019 at 1:35 AM Anatoly Pugachev <matorola@gmail.com> wrote:
> >>
> >> selftests: update .gitignore files for selftests/bpf and selftests/zram
> >>
> >> Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
> >> ---
> >>   tools/testing/selftests/bpf/.gitignore  | 4 ++++
> >>   tools/testing/selftests/zram/.gitignore | 1 +
> >>   2 files changed, 5 insertions(+)
> >>   create mode 100644 tools/testing/selftests/zram/.gitignore
> >
> > could you please split this patch into selftests/bpf/ and the rest?
> > we'll take bpf bits via bpf tree.
>
> Yes. Please split them. .gitignore changes for each test need to be
> in separate patches.

I wonder does it still make sense to post patch for .gitignore if my
current git kernel does not show this extra compiled binaries any more
(probably after make clean) ?
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index 7470327edcfe..218ac37f460a 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -15,6 +15,9 @@  test_libbpf_open
 test_sock
 test_sock_addr
 test_sock_fields
+test_sockopt
+test_sockopt_multi
+test_sockopt_sk
 urandom_read
 test_btf
 test_sockmap
@@ -32,6 +35,7 @@  test_section_names
 test_tcpnotify_user
 test_libbpf
 test_tcp_check_syncookie_user
+test_tcp_rtt
 test_sysctl
 alu32
 libbpf.pc
diff --git a/tools/testing/selftests/zram/.gitignore b/tools/testing/selftests/zram/.gitignore
new file mode 100644
index 000000000000..b4a2cb6fafa6
--- /dev/null
+++ b/tools/testing/selftests/zram/.gitignore
@@ -0,0 +1 @@ 
+err.log