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>
This commit is contained in:
Emilio López
2016-10-19 09:49:49 -03:00
committed by Shuah Khan
parent 82208160ae
commit 6a5b7d2c55
4 changed files with 140 additions and 0 deletions

View File

@@ -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