summaryrefslogtreecommitdiff
path: root/decoders/spi/test/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/spi/test/test.conf')
-rw-r--r--decoders/spi/test/test.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/decoders/spi/test/test.conf b/decoders/spi/test/test.conf
index 57e0be7..53edfeb 100644
--- a/decoders/spi/test/test.conf
+++ b/decoders/spi/test/test.conf
@@ -31,3 +31,13 @@ test count_miso_lsb
input spi/spi-count-lsb.sr
output spi annotation class mosi-data match spi_count_miso_lsb.output
+test exception_samplerate
+ protocol-decoder spi
+ input misc/no-samplerate.sr
+ output spi exception match SamplerateError
+
+test exception_missing_datapins
+ protocol-decoder spi channel cs=1 channel clk=0
+ input spi/spi-count-msb.sr
+ output spi exception match MissingDataError
+