Thread (90 messages) flat view 90 messages, 8 authors, 2016-01-13
STALE3862d REVIEWED: 1 (0M)

1 review trailer.

[PATCH 10/53] tools build: Add BPF feature check to test-all

From: Wang Nan <hidden>
Date: 2016-01-11 14:11:47
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Existing test-all.c doesn't check BPF related features. For 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: Wang Nan <redacted>
Acked-by: Jiri Olsa <redacted>
Cc: Arnaldo Carvalho de Melo <redacted>
Cc: Namhyung Kim <namhyung@kernel.org>
---
 tools/build/feature/test-all.c | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/tools/build/feature/test-all.c b/tools/build/feature/test-all.c
index 33cf6f2..81025ca 100644
--- a/tools/build/feature/test-all.c
+++ b/tools/build/feature/test-all.c
@@ -125,6 +125,10 @@
 # include "test-get_cpuid.c"
 #undef main
 
+#define main main_test_bpf
+# include "test-bpf.c"
+#undef main
+
 int main(int argc, char *argv[])
 {
 	main_test_libpython();
@@ -153,6 +157,7 @@ int main(int argc, char *argv[])
 	main_test_pthread_attr_setaffinity_np();
 	main_test_lzma();
 	main_test_get_cpuid();
+	main_test_bpf();
 
 	return 0;
 }
-- 
1.8.3.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help