selftests/ftrace: mark irqsoff_tracer.tc test as unresolved if the test module does...
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Tue, 5 May 2020 10:14:45 +0000 (18:14 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 8 May 2020 15:43:30 +0000 (09:43 -0600)
commitadb571649c7ce7ee16022fa302b62043d1812b4b
treec3f85f089b888788240156b16e9009c4f9d56029
parentd8238f9eb6e0c175c8b657af20164eef6b30c71c
selftests/ftrace: mark irqsoff_tracer.tc test as unresolved if the test module does not exist

The UNRESOLVED state is much more apporiate than the UNSUPPORTED state
for the absence of the test module, as it matches "test was set up
incorrectly" situation in the README file.

A possible scenario is that the function was enabled (supported by the
kernel) but the module was not installed properly, in this case we
cannot call this as UNSUPPORTED.

This change also make it consistent with other module-related tests
in ftrace.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/preemptirq/irqsoff_tracer.tc