selftest: sync: merge tests for sw_sync framework
authorEmilio López <emilio.lopez@collabora.co.uk>
Wed, 19 Oct 2016 12:49:50 +0000 (09:49 -0300)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 2 Dec 2016 01:13:06 +0000 (18:13 -0700)
commit1c5839c6eefbb938052c57bc32f66b6f276431f3
treea714b38df03e95163f81102d89b7c52fc8d5b103
parent6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f
selftest: sync: merge tests for sw_sync framework

These tests are based on the libsync test suite from Android.
This commit includes tests for basic merge operations.

Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/sync/Makefile
tools/testing/selftests/sync/sync_merge.c [new file with mode: 0644]
tools/testing/selftests/sync/sync_test.c
tools/testing/selftests/sync/synctest.h