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>
This commit is contained in:
Emilio López 2016-10-19 09:49:51 -03:00 committed by Shuah Khan
parent 1c5839c6ee
commit fdba7cffc3
4 changed files with 96 additions and 0 deletions

View file

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