From 499a1d11f2653483f87c3339c8c799bc259536e7 Mon Sep 17 00:00:00 2001 From: Emilio López Date: Wed, 19 Oct 2016 09:49:54 -0300 Subject: selftest: sync: stress test for merges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Shuah Khan --- tools/testing/selftests/sync/synctest.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/testing/selftests/sync/synctest.h') diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h index a94b6220b8e6..4e0e59f6fcf3 100644 --- a/tools/testing/selftests/sync/synctest.h +++ b/tools/testing/selftests/sync/synctest.h @@ -60,4 +60,7 @@ int test_stress_two_threads_shared_timeline(void); /* Stress test - consumer */ int test_consumer_stress_multi_producer_single_consumer(void); +/* Stress test - merging */ +int test_merge_stress_random_merge(void); + #endif -- cgit v1.2.3-59-g8ed1b