summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync
Commit message (Collapse)AuthorAgeFilesLines
* selftest: sync: improve assert() failure messageGustavo Padovan2016-12-131-1/+1
| | | | | | | | Print "ERROR" on all messages instead of using the not well defined terms like "BAD". Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
* selftest: sync: stress test for mergesEmilio López2016-12-024-0/+120
| | | | | | | | 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>
* selftest: sync: stress consumer/producer testEmilio López2016-12-024-0/+190
| | | | | | | | | 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>
* selftest: sync: stress test for parallelismEmilio López2016-12-024-0/+116
| | | | | | | | | This test is based on the libsync test suite from Android. This commit includes a stress test that invokes operations in parallel. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
* selftest: sync: wait tests for sw_sync frameworkEmilio López2016-12-024-0/+96
| | | | | | | | These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
* selftest: sync: merge tests for sw_sync frameworkEmilio López2016-12-024-0/+65
| | | | | | | | 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>
* selftest: sync: fence tests for sw_sync frameworkEmilio López2016-12-024-0/+140
| | | | | | | | These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
* selftest: sync: basic tests for sw_sync frameworkEmilio López2016-12-028-0/+518
These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a variety of basic allocation commands. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>