Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c4d40d5 authored by Wang Nan's avatar Wang Nan Committed by Arnaldo Carvalho de Melo
Browse files

tools build: Add BPF feature check to test-all



The test-all.c file doesn't check BPF related features. For an
environment with all other features enabled, BPF would be considered
enabled without doing real feature check.

This patch adds test-bpf.c into test-all.c.

Signed-off-by: default avatarWang Nan <wangnan0@huawei.com>
Acked-by: default avatarJiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1452520124-2073-11-git-send-email-wangnan0@huawei.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent d5ef3140
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -125,6 +125,10 @@
# include "test-get_cpuid.c"
# include "test-get_cpuid.c"
#undef main
#undef main


#define main main_test_bpf
# include "test-bpf.c"
#undef main

int main(int argc, char *argv[])
int main(int argc, char *argv[])
{
{
	main_test_libpython();
	main_test_libpython();
@@ -153,6 +157,7 @@ int main(int argc, char *argv[])
	main_test_pthread_attr_setaffinity_np();
	main_test_pthread_attr_setaffinity_np();
	main_test_lzma();
	main_test_lzma();
	main_test_get_cpuid();
	main_test_get_cpuid();
	main_test_bpf();


	return 0;
	return 0;
}
}