diff options
author | Emilio López <emilio.lopez@collabora.co.uk> | 2016-10-19 09:49:53 -0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-12-01 18:13:25 -0700 |
commit | c52dee5025d904896198b7090cf7df80a4028363 (patch) | |
tree | 27cc570456745917115a7b7389d8615dea79d82b /tools/testing/selftests/sync/sync_test.c | |
parent | selftest: sync: stress test for parallelism (diff) | |
download | linux-dev-c52dee5025d904896198b7090cf7df80a4028363.tar.xz linux-dev-c52dee5025d904896198b7090cf7df80a4028363.zip |
selftest: sync: stress consumer/producer test
This test is based on the libsync test suite from Android.
This commit includes a stress test that replicates a
consumer/producer pattern.
Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/sync/sync_test.c | 1 |
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 3bb1024315e6..32f253499efd 100644 --- a/tools/testing/selftests/sync/sync_test.c +++ b/tools/testing/selftests/sync/sync_test.c @@ -67,6 +67,7 @@ int main(void) err += RUN_TEST(test_fence_merge_same_fence); 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); if (err) printf("[FAIL]\tsync errors: %d\n", err); |