summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync/synctest.h
diff options
context:
space:
mode:
authorEmilio López2016-10-19 14:49:50 +0200
committerShuah Khan2016-12-02 02:13:06 +0100
commit1c5839c6eefbb938052c57bc32f66b6f276431f3 (patch)
treea714b38df03e95163f81102d89b7c52fc8d5b103 /tools/testing/selftests/sync/synctest.h
parentselftest: sync: fence tests for sw_sync framework (diff)
downloadkernel-qcow2-linux-1c5839c6eefbb938052c57bc32f66b6f276431f3.tar.gz
kernel-qcow2-linux-1c5839c6eefbb938052c57bc32f66b6f276431f3.tar.xz
kernel-qcow2-linux-1c5839c6eefbb938052c57bc32f66b6f276431f3.zip
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>
Diffstat (limited to 'tools/testing/selftests/sync/synctest.h')
-rw-r--r--tools/testing/selftests/sync/synctest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h
index 6505c281c7b3..c3b0b5ec4fa8 100644
--- a/tools/testing/selftests/sync/synctest.h
+++ b/tools/testing/selftests/sync/synctest.h
@@ -48,4 +48,7 @@ int test_alloc_fence_negative(void);
int test_fence_one_timeline_wait(void);
int test_fence_one_timeline_merge(void);
+/* Fence merge tests */
+int test_fence_merge_same_fence(void);
+
#endif