Skip to contentSkip to conversation

selftests/bpf: add missing executables to .gitignore

PATCH Applied Stanislav Fomichev 2 participants 2 messages Jan 9, 2019 – Jan 10, 2019

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: add missing executables to .gitignore

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")
---
 tools/lib/bpf/.gitignore               | 1 +
 tools/testing/selftests/bpf/.gitignore | 1 +
 2 files changed, 2 insertions(+)
tools/lib/bpf/.gitignore +1 -0
index f81e549ddfdb..4db74758c674 100644
@@ -1,2 +1,3 @@
 libbpf_version.h
 FEATURE-DUMP.libbpf
+test_libbpf
tools/testing/selftests/bpf/.gitignore +1 -0
index 4a9785043a39..dd093bd91aa9 100644
@@ -28,3 +28,4 @@ flow_dissector_load
 test_netcnt
 test_section_names
 test_tcpnotify_user
+test_libbpf
Signature · 1 line
2.20.1.97.g81188d93c3-goog
maintainer Applied
#1 lore raw
Quoted 10 lines · Stanislav Fomichev

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
Quoted 3 lines
Fixes 8c4905b995c6 ("libbpf: make sure bpf headers are c++ include-able")

Applied, thanks!