Re: [PATCH] selftests: sync: Skip the test if kernel support is not found

2017-06-02 Thread Shuah Khan
On 05/31/2017 04:40 AM, Michael Ellerman wrote: > The "Sync framework" test doesn't work if the kernel has no support, > obviously. Rather than reporting a failure, check for the kernel support > by looking for /sys/kernel/debug/sync/sw_sync, and if not found skip the > test. > > Signed-off-by: Mi

Re: [PATCH] selftests: sync: Skip the test if kernel support is not found

2017-05-31 Thread Shuah Khan
On 05/31/2017 08:44 AM, Gustavo Padovan wrote: > Hi Michael, > > On 05/31/2017 07:40 PM, Michael Ellerman wrote: >> The "Sync framework" test doesn't work if the kernel has no support, >> obviously. Rather than reporting a failure, check for the kernel support >> by looking for /sys/kernel/debug/s

Re: [PATCH] selftests: sync: Skip the test if kernel support is not found

2017-05-31 Thread Gustavo Padovan
Hi Michael, On 05/31/2017 07:40 PM, Michael Ellerman wrote: > The "Sync framework" test doesn't work if the kernel has no support, > obviously. Rather than reporting a failure, check for the kernel support > by looking for /sys/kernel/debug/sync/sw_sync, and if not found skip the > test. > > Sign

[PATCH] selftests: sync: Skip the test if kernel support is not found

2017-05-31 Thread Michael Ellerman
The "Sync framework" test doesn't work if the kernel has no support, obviously. Rather than reporting a failure, check for the kernel support by looking for /sys/kernel/debug/sync/sw_sync, and if not found skip the test. Signed-off-by: Michael Ellerman --- tools/testing/selftests/sync/sync_test.