aboutsummaryrefslogtreecommitdiffstats
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 09:49:49 -0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-01 18:12:59 -0700
commit6a5b7d2c55ca8eca3dc5cc6355885e286ef6df7f (patch)
tree2cb53ff2bd15bf5f9153a6f3b007c3162ad520a9 /tools/testing/selftests/sync/sync_test.c
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 'tools/testing/selftests/sync/sync_test.c')
-rw-r--r--tools/testing/selftests/sync/sync_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c
index e471ba9390ca..b442292bdfc9 100644
--- a/tools/testing/selftests/sync/sync_test.c
+++ b/tools/testing/selftests/sync/sync_test.c
@@ -62,6 +62,9 @@ int main(void)
err += RUN_TEST(test_alloc_fence);
err += RUN_TEST(test_alloc_fence_negative);
+ err += RUN_TEST(test_fence_one_timeline_wait);
+ err += RUN_TEST(test_fence_one_timeline_merge);
+
if (err)
printf("[FAIL]\tsync errors: %d\n", err);
else