]> sigrok.org Git - sigrok-test.git/commitdiff
spi: Missing samplerate spec is not fatal
authorGerhard Sittig <redacted>
Tue, 6 Jun 2017 21:09:44 +0000 (23:09 +0200)
committerGerhard Sittig <redacted>
Tue, 6 Jun 2017 21:09:44 +0000 (23:09 +0200)
Remove the "exception_samplerate" test for the SPI decoder. Lack of a
samplerate specification only breaks the emission of the throughput
annotations, but still allows decoding the clocked signal.

decoder/test/spi/test.conf

index 8e7b66936aec432eb9e5d1408c8bca3b9dac4aa7..e604708e995d82e0106c5f5c26c7e64916920fe4 100644 (file)
@@ -75,11 +75,6 @@ test 152bit_spi
        output spi binary class miso match 152bit_spi.bin_miso
        output spi binary class mosi match 152bit_spi.bin_mosi
 
-test exception_samplerate
-       protocol-decoder spi
-       input misc/no-samplerate.sr
-       output spi exception match SamplerateError
-
 test exception_channel
        protocol-decoder spi channel cs=1 channel clk=0
        input spi/spi-count-msb.sr