selftests: ftrace: Add --fail-unsupported option
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 7 Jul 2017 01:00:25 +0000 (10:00 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 26 Jul 2017 21:41:22 +0000 (15:41 -0600)
commit9aa9413912001c41ce40027b7952cbf873d7dc79
treef85d1140d2de0ce71dc53ad9d5c0019c25e20e2f
parent9b682cd4afeb239031c0646457de547001993066
selftests: ftrace: Add --fail-unsupported option

Add --fail-unsupported option to fail the test result if
ftracetest gets UNSUPPORTED result. UNSUPPORTED usually
happens when the kernel is old (e.g. stable tree) or some
kernel feature is disabled.

However, if newer kernel has any bug or regression, it
can make test results in UNSUPPORTED too. This option
can detect such kernel regression.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <srostedt@goodmis.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/ftrace/ftracetest