diff mbox series

[bpf] selftests/bpf: add missing executables to .gitignore

Message ID 20190109000728.27723-1-sdf@google.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series [bpf] selftests/bpf: add missing executables to .gitignore | expand

Commit Message

Stanislav Fomichev Jan. 9, 2019, 12:07 a.m. UTC
We build test_libbpf with CXX to make sure linking against C++ works.

$ make -s -C tools/lib/bpf
$ git status -sb
? tools/lib/bpf/test_libbpf
$ make -s -C tools/testing/selftests/bpf
$ git status -sb
? tools/lib/bpf/test_libbpf
? tools/testing/selftests/bpf/test_libbpf

Fixes: 8c4905b995c6 ("libbpf: make sure bpf headers are c++ include-able")

Signed-off-by: Stanislav Fomichev <sdf@google.com>
---
 tools/lib/bpf/.gitignore               | 1 +
 tools/testing/selftests/bpf/.gitignore | 1 +
 2 files changed, 2 insertions(+)

Comments

Daniel Borkmann Jan. 10, 2019, 2:58 p.m. UTC | #1
On 01/09/2019 01:07 AM, Stanislav Fomichev wrote:
> We build test_libbpf with CXX to make sure linking against C++ works.
> 
> $ make -s -C tools/lib/bpf
> $ git status -sb
> ? tools/lib/bpf/test_libbpf
> $ make -s -C tools/testing/selftests/bpf
> $ git status -sb
> ? tools/lib/bpf/test_libbpf
> ? tools/testing/selftests/bpf/test_libbpf
> 
> Fixes: 8c4905b995c6 ("libbpf: make sure bpf headers are c++ include-able")
> 
> Signed-off-by: Stanislav Fomichev <sdf@google.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/tools/lib/bpf/.gitignore b/tools/lib/bpf/.gitignore
index f81e549ddfdb..4db74758c674 100644
--- a/tools/lib/bpf/.gitignore
+++ b/tools/lib/bpf/.gitignore
@@ -1,2 +1,3 @@ 
 libbpf_version.h
 FEATURE-DUMP.libbpf
+test_libbpf
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index 4a9785043a39..dd093bd91aa9 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -28,3 +28,4 @@  flow_dissector_load
 test_netcnt
 test_section_names
 test_tcpnotify_user
+test_libbpf