diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-12-02 13:59:31 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-04 17:57:55 -0800 |
commit | 6bf6affe18dafea6ef12036001162ac7f2dbf738 (patch) | |
tree | 409a3af52c0fd0670c0bbae50df63d5ca1f8e577 /tools/testing/selftests/bpf/.gitignore | |
parent | 01d434ce98d38e36901c72493b96afc4075ee887 (diff) | |
download | blackbird-op-linux-6bf6affe18dafea6ef12036001162ac7f2dbf738.tar.gz blackbird-op-linux-6bf6affe18dafea6ef12036001162ac7f2dbf738.zip |
selftests/bpf: Bring back c++ include/link test
Commit 5c26f9a78358 ("libbpf: Don't use cxx to test_libpf target")
converted existing c++ test to c. We still want to include and
link against libbpf from c++ code, so reinstate this test back,
this time in a form of a selftest with a clear comment about
its purpose.
v2:
* -lelf -> $(LDLIBS) (Andrii Nakryiko)
Fixes: 5c26f9a78358 ("libbpf: Don't use cxx to test_libpf target")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191202215931.248178-1-sdf@google.com
Diffstat (limited to 'tools/testing/selftests/bpf/.gitignore')
-rw-r--r-- | tools/testing/selftests/bpf/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore index 4865116b96c7..419652458da4 100644 --- a/tools/testing/selftests/bpf/.gitignore +++ b/tools/testing/selftests/bpf/.gitignore @@ -37,5 +37,6 @@ libbpf.so.* test_hashmap test_btf_dump xdping +test_cpp /no_alu32 /bpf_gcc |