alistair23-linux/tools/testing/selftests/sync
Michael Ellerman 4996976fcd selftests: sync: Skip the test if kernel support is not found
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 <mpe@ellerman.id.au>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2017-06-07 10:07:21 -06:00
..
.gitignore selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
Makefile selftests: sync: override clean in lib.mk to fix warnings 2017-04-27 08:05:14 -06:00
sw_sync.h selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync.c selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync.h selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync_alloc.c selftest: sync: basic tests for sw_sync framework 2016-12-01 18:12:50 -07:00
sync_fence.c selftest: sync: fence tests for sw_sync framework 2016-12-01 18:12:59 -07:00
sync_merge.c selftest: sync: merge tests for sw_sync framework 2016-12-01 18:13:06 -07:00
sync_stress_consumer.c selftest: sync: stress consumer/producer test 2016-12-01 18:13:25 -07:00
sync_stress_merge.c selftest: sync: stress test for merges 2016-12-01 18:13:32 -07:00
sync_stress_parallelism.c selftest: sync: stress test for parallelism 2016-12-01 18:13:19 -07:00
sync_test.c selftests: sync: Skip the test if kernel support is not found 2017-06-07 10:07:21 -06:00
sync_wait.c selftest: sync: wait tests for sw_sync framework 2016-12-01 18:13:12 -07:00
synctest.h selftest: sync: improve assert() failure message 2016-12-13 07:24:34 -07:00