[lkml]   [2021]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: selftest/ftrace: Add test results to "-h" help text to ftracetest
On Mon, 28 Jun 2021 17:08:09 +0200
Peter Zijlstra <> wrote:

> On Mon, Jun 28, 2021 at 09:50:15AM -0400, Steven Rostedt wrote:
> > +echo " UNRESOLVED The test produced indeterminate results. (e.g. interrupted)"
> > +echo " UNSUPPORTED The test failed because of lack of feature."
> So in my case I've seen both these as a result of .config fails.
> Specifically test.d/kprobe/ returns exit_unresolved when
> it can't load the module (because it doesn't exist).

Since I defined these result code from DejaGnu (based on POSIX 1003.3) result,
I made such error (failed to load kernel module, which just gives a target
but is not an implementation of the tested feature) UNRESOLVED.
Here are some of the ways a test may wind up UNRESOLVED:
- The test was set up incorrectly.
My logic is that you are not correctly (compile and) install the target module,
so this is a setting issue.

> Also, would it be at all possible to, for both these options, always
> print the missing CONFIG_symbol ? The above test actually has an echo
> for it, but I've never seen the result of that appear.

That's a good idea :) Let me try to add depending CONFIG_ options for
each test cases.

Thank you,

Masami Hiramatsu <>

 \ /
  Last update: 2021-06-29 02:00    [W:0.066 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site