spdif: Add/update test-cases after decoder changes.
[sigrok-test.git] / decoder / test / spdif / test.conf
index 539f56537a05212733675155d3cb510fcae7722d..6f3be39df3394579622135c7398f41c32dc76994 100644 (file)
@@ -7,3 +7,18 @@ test 2ch-16bit-48khz
        protocol-decoder spdif channel data=0 initial_pin data=0
        input spdif/2ch-16bit-48khz/2ch-16bit-48khz.sr
        output spdif annotation match 2ch-16bit-48khz.output
        protocol-decoder spdif channel data=0 initial_pin data=0
        input spdif/2ch-16bit-48khz/2ch-16bit-48khz.sr
        output spdif annotation match 2ch-16bit-48khz.output
+
+test spdif_16mhz_44khz
+       protocol-decoder spdif channel data=6
+       input spdif/more/spdif_16mhz_44khz.sr
+       output spdif exception match SamplerateError
+
+test spdif_16mhz_44khz_3
+       protocol-decoder spdif channel data=6
+       input spdif/more/spdif_16mhz_44khz_3.sr
+       output spdif exception match SamplerateError
+
+test spdif_24mhz_44khz_1
+       protocol-decoder spdif channel data=6
+       input spdif/more/spdif_24mhz_44khz_1.sr
+       output spdif annotation match spdif_24mhz_44khz_1.output