Hi Fengguang and Daniel, I'm looking into adding some tests for tools/testing/selftests/bpf/. I'm a bit confused about the output format, as it seems to differ even among programs in the same directory (tools/testing/selftests/bpf/). I do see, that tools/testing/selftests/lib.mk have a standard output format via the program shell exit-code (copied Makefile syntax): exit_code && echo "selftests: $$BASENAME_TEST [PASS]" \ || echo "selftests: $$BASENAME_TEST [FAIL]" To Fengguang: How do your kbuild-robot hook into this? (1) Do you parse/grep after output? (egrep -e "^selftests: .* \[.*\]") (2) Or do you rely on the shell exit codes? A quick look at some of the bpf tests, show that they are not all using the exit codes to indicate failure (... which I guess is a bug we should fix?) p.s. I have noticed: Documentation/kselftest.txt, but it says nothing about output format used/required program exit codes. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html