Re: [PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-10 Thread Masami Hiramatsu
On Thu, 10 May 2018 14:18:16 -0600 Shuah Khan wrote: > Hi Masami, > > On 05/07/2018 09:38 PM, Masami Hiramatsu wrote: > > On Fri, 4 May 2018 19:13:13 -0600 > > "Shuah Khan (Samsung OSG)" wrote: > > > >> When ftrace test is skipped because of unmet dependencies and/or > >> unsupported configur

Re: [PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-10 Thread Shuah Khan
Hi Masami, On 05/07/2018 09:38 PM, Masami Hiramatsu wrote: > On Fri, 4 May 2018 19:13:13 -0600 > "Shuah Khan (Samsung OSG)" wrote: > >> When ftrace test is skipped because of unmet dependencies and/or >> unsupported configuration, it returns 0 which is treated as a pass >> by the Kselftest fram

Re: [PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-07 Thread Masami Hiramatsu
On Fri, 4 May 2018 19:13:13 -0600 "Shuah Khan (Samsung OSG)" wrote: > When ftrace test is skipped because of unmet dependencies and/or > unsupported configuration, it returns 0 which is treated as a pass > by the Kselftest framework. This leads to false positive result even > when the test could

Re: [PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-07 Thread Masami Hiramatsu
On Mon, 7 May 2018 11:17:21 -0400 Steven Rostedt wrote: > On Fri, 4 May 2018 19:13:13 -0600 > "Shuah Khan (Samsung OSG)" wrote: > > > When ftrace test is skipped because of unmet dependencies and/or > > unsupported configuration, it returns 0 which is treated as a pass > > by the Kselftest fra

Re: [PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-07 Thread Steven Rostedt
On Fri, 4 May 2018 19:13:13 -0600 "Shuah Khan (Samsung OSG)" wrote: > When ftrace test is skipped because of unmet dependencies and/or > unsupported configuration, it returns 0 which is treated as a pass > by the Kselftest framework. This leads to false positive result even > when the test could

[PATCH 09/24] selftests: ftrace: return Kselftest Skip code for skipped tests

2018-05-04 Thread Shuah Khan (Samsung OSG)
When ftrace test is skipped because of unmet dependencies and/or unsupported configuration, it returns 0 which is treated as a pass by the Kselftest framework. This leads to false positive result even when the test could not be run. Change it to return kselftest skip code when a test gets skipped