summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sync/sync_test.c
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-10-19 15:49:51 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-02 04:13:12 +0300
commitfdba7cffc32b22afb8070a433c091448b519923f (patch)
treeb27d1e11f00c24692bc93ceb9ce15dd661c03f9a /tools/testing/selftests/sync/sync_test.c
parent1c5839c6eefbb938052c57bc32f66b6f276431f3 (diff)
downloadlinux-fdba7cffc32b22afb8070a433c091448b519923f.tar.xz
selftest: sync: wait tests for sw_sync framework
These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. 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/sync_test.c')
-rw-r--r--tools/testing/selftests/sync/sync_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c
index ab37eee8749a..eab5ceb7b571 100644
--- a/tools/testing/selftests/sync/sync_test.c
+++ b/tools/testing/selftests/sync/sync_test.c
@@ -65,6 +65,7 @@ int main(void)
err += RUN_TEST(test_fence_one_timeline_wait);
err += RUN_TEST(test_fence_one_timeline_merge);
err += RUN_TEST(test_fence_merge_same_fence);
+ err += RUN_TEST(test_fence_multi_timeline_wait);
if (err)
printf("[FAIL]\tsync errors: %d\n", err);