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:54 -0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-01 18:13:32 -0700
commit499a1d11f2653483f87c3339c8c799bc259536e7 (patch)
tree20cea53276bcc310b60c5931573080813f723f91 /tools/testing/selftests/sync/sync_test.c
parentselftest: sync: stress consumer/producer test (diff)
downloadlinux-dev-499a1d11f2653483f87c3339c8c799bc259536e7.tar.xz
linux-dev-499a1d11f2653483f87c3339c8c799bc259536e7.zip
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>
Diffstat (limited to 'tools/testing/selftests/sync/sync_test.c')
-rw-r--r--tools/testing/selftests/sync/sync_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c
index 32f253499efd..9ea08d9f0b13 100644
--- a/tools/testing/selftests/sync/sync_test.c
+++ b/tools/testing/selftests/sync/sync_test.c
@@ -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);