can: Update test-cases after CAN-FD support was added.
[sigrok-test.git] / decoder / test / can / test.conf
index 1a5db07e5949b42e17dab188be47fd3fbad28288..75e98263867d8e09f6035a5bb42ddef2a80d4618 100644 (file)
@@ -2,3 +2,49 @@ test exception_samplerate
        protocol-decoder can
        input misc/no-samplerate.sr
        output can exception match SamplerateError
+
+test mcp2515dm-bm-125kbits_msg_222_5bytes
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_msg_222_5bytes.sr
+       output can annotation match mcp2515dm-bm-125kbits_msg_222_5bytes.output
+
+test mcp2515dm-bm-125kbits_extmsg_11223344_7bytes
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_extmsg_11223344_7bytes.sr
+       output can annotation match mcp2515dm-bm-125kbits_extmsg_11223344_7bytes.output
+
+test mcp2515dm-bm-125kbits_bus_load_100percent
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_100percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_100percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_75percent
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_75percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_75percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_50percent
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_50percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_50percent.output
+
+test mcp2515dm-bm-125kbits_bus_load_25percent
+       protocol-decoder can channel can_rx=2 option nominal_bitrate=125000
+       input can/microchip_mcp2515dm-bm/mcp2515dm-bm-125kbits_bus_load_25percent.sr
+       output can annotation match mcp2515dm-bm-125kbits_bus_load_25percent.output
+
+# Note: The samplerate of this file is rather low (500kHz).
+test nmea2000_fuel_flow_gps_snippet
+       protocol-decoder can channel can_rx=0 option nominal_bitrate=250000
+       input can/nmea2000/lowrance_ep_60r_garmin_gps_17x/nmea2000_fuel_flow_gps_snippet.sr
+       output can annotation match nmea2000_fuel_flow_gps_snippet.output
+
+test can_fd_std_without_brs_8
+       protocol-decoder can channel can_rx=0 option nominal_bitrate=1000000
+       input can/can_fd/arbitrary_traffic/can_fd_std_without_brs_8.sr
+       output can annotation match can_fd_std_without_brs_8.output
+
+test can_fd_std_without_brs_64
+       protocol-decoder can channel can_rx=0 option nominal_bitrate=1000000
+       input can/can_fd/arbitrary_traffic/can_fd_std_without_brs_64.sr
+       output can annotation match can_fd_std_without_brs_64.output