]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/uart/test.conf
uart: Add a test-case for parity_type=ignore.
[sigrok-test.git] / decoder / test / uart / test.conf
index 383a8911bb5ba87de00b92f9e41b303c7d40c027..3bd5eb377a018b157a7ae4c9df2857736e73d293 100644 (file)
@@ -24,6 +24,13 @@ test hello_world_7o1_115200_parity_err
        output uart python match hello_world_7o1_115200_parity_err.python
        output uart binary class tx match hello_world_7o1_115200_parity_err.bin_tx
 
+test hello_world_7o1_115200_parity_ignore
+       protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=ignore option num_data_bits=7 option format=ascii
+       input uart/hello_world/7o1/hello_world_7o1_115200.sr
+       output uart annotation match hello_world_7o1_115200_parity_ignore.output
+       output uart python match hello_world_7o1_115200_parity_ignore.python
+       output uart binary class tx match hello_world_7o1_115200_parity_ignore.bin_tx
+
 test hello_world_7e1_115200
        protocol-decoder uart channel tx=0 option baudrate=115200 option parity_type=even option num_data_bits=7 option format=ascii
        input uart/hello_world/7e1/hello_world_7e1_115200.sr