test/dma: add failure handling tests
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 13 Oct 2021 15:17:34 +0000 (16:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Oct 2021 09:19:27 +0000 (11:19 +0200)
commit99d7ec4be237aa4782b9953635b48045d3f6bc30
tree536a88c62bef3fe451cabea3c4470f447eef5c36
parent2e348d8fe382d55a12afa105069a862a6d8c0a23
test/dma: add failure handling tests

Add a series of tests to inject bad copy operations into a dmadev to
test the error handling and reporting capabilities. Various combinations
of errors in various positions in a burst are tested, as are errors in
bursts with fence flag set, and multiple errors in a single burst.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
app/test/test_dmadev.c