aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync/synctest.h
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-10-19 09:49:49 -0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-01 18:12:59 -0700
commit6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f (patch)
tree2cb53ff2bd15bf5f9153a6f3b007c3162ad520a9 /tools/testing/selftests/sync/synctest.h
parentselftest: sync: basic tests for sw_sync framework (diff)
downloadlinux-dev-6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f.tar.xz
linux-dev-6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f.zip
selftest: sync: fence tests for sw_sync framework
These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/sync/synctest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h
index 7d2d8ce1d71a..6505c281c7b3 100644
--- a/tools/testing/selftests/sync/synctest.h
+++ b/tools/testing/selftests/sync/synctest.h
@@ -44,4 +44,8 @@ int test_alloc_timeline(void);
int test_alloc_fence(void);
int test_alloc_fence_negative(void);
+/* Fence tests with one timeline */
+int test_fence_one_timeline_wait(void);
+int test_fence_one_timeline_merge(void);
+
#endif