From dd37a782a8637bdee703a13c949b222b9ba8b95d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 1 Sep 2014 18:23:54 +0200 Subject: Add initial set of PD tests. This is a slightly modified version of the PD test suite that was part of libsigrokdecode previously. --- decoder/test/uart/test.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 decoder/test/uart/test.conf (limited to 'decoder/test/uart/test.conf') diff --git a/decoder/test/uart/test.conf b/decoder/test/uart/test.conf new file mode 100644 index 0000000..a071c62 --- /dev/null +++ b/decoder/test/uart/test.conf @@ -0,0 +1,15 @@ +test trekstor_ebr30_a + protocol-decoder uart channel rx=1 + input uart/trekstor_ebr30_a/trekstor_ebr30_a_uart.sr + output uart annotation class rx-data match trekstor_rx.output + output uart annotation class tx-data match trekstor_tx.output + output uart annotation match trekstor.output + output uart binary class rx match trekstor_bin_rx.output + output uart binary class tx match trekstor_bin_tx.output + output uart binary class rxtx match trekstor_bin_rx.output + +test exception_samplerate + protocol-decoder uart + input misc/no-samplerate.sr + output uart exception match SamplerateError + -- cgit v1.2.3-54-g00ecf