selftest: sync: stress test for merges

This test is based on the libsync test suite from Android.
This commit includes a test to stress 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:54 -03:00
committed by Shuah Khan
parent c52dee5025
commit 499a1d11f2
4 changed files with 120 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ int main(void)
err += RUN_TEST(test_fence_multi_timeline_wait);
err += RUN_TEST(test_stress_two_threads_shared_timeline);
err += RUN_TEST(test_consumer_stress_multi_producer_single_consumer);
err += RUN_TEST(test_merge_stress_random_merge);
if (err)
printf("[FAIL]\tsync errors: %d\n", err);