selftest: sync: merge tests for sw_sync framework

These tests are based on the libsync test suite from Android.
This commit includes tests for basic merge operations.

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:50 -03:00
committed by Shuah Khan
parent 6a5b7d2c55
commit 1c5839c6ee
4 changed files with 65 additions and 0 deletions

View File

@@ -64,6 +64,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);
if (err)
printf("[FAIL]\tsync errors: %d\n", err);