sigrok-test.git
2 years agones_gamepad: add a test-case
Stephan Thiele [Sun, 27 Oct 2019 23:42:21 +0000 (00:42 +0100)]
nes_gamepad: add a test-case

2 years agouart: Updates due to recent PD option renames.
Uwe Hermann [Fri, 29 Nov 2019 23:04:40 +0000 (00:04 +0100)]
uart: Updates due to recent PD option renames.

2 years agouart: Add a test-case for parity_type=ignore.
Uwe Hermann [Fri, 29 Nov 2019 22:44:35 +0000 (23:44 +0100)]
uart: Add a test-case for parity_type=ignore.

2 years agouart: Add a test-case with intentional parity errors.
Uwe Hermann [Fri, 29 Nov 2019 22:41:18 +0000 (23:41 +0100)]
uart: Add a test-case with intentional parity errors.

2 years agocan: add bit rate switch tests for CAN-FD
stephan.thiele [Wed, 13 Nov 2019 22:38:25 +0000 (23:38 +0100)]
can: add bit rate switch tests for CAN-FD

2 years agocan: fix nmea2000_fuel_flow_gps_snippet dump (bit rate switch support)
stephan.thiele [Wed, 13 Nov 2019 22:32:03 +0000 (23:32 +0100)]
can: fix nmea2000_fuel_flow_gps_snippet dump (bit rate switch support)

2 years agocan: update tests because of CRC-15 annotation
stephan.thiele [Wed, 13 Nov 2019 22:15:25 +0000 (23:15 +0100)]
can: update tests because of CRC-15 annotation

2 years agocan: testconf: add can_fd_ext_without_brs_8 + can_fd_ext_without_brs_64
stephan.thiele [Wed, 13 Nov 2019 21:18:30 +0000 (22:18 +0100)]
can: testconf: add can_fd_ext_without_brs_8 + can_fd_ext_without_brs_64

2 years agolin: Update test-cases after UART idle frame detection was added
stephan.thiele [Sun, 10 Nov 2019 16:50:10 +0000 (17:50 +0100)]
lin: Update test-cases after UART idle frame detection was added

2 years agouart: Updates after 'IDLE' OUTPUT_PYTHON addition.
Uwe Hermann [Fri, 29 Nov 2019 18:55:33 +0000 (19:55 +0100)]
uart: Updates after 'IDLE' OUTPUT_PYTHON addition.

2 years agosignature: add test cases
sharow [Mon, 7 Oct 2019 00:26:09 +0000 (09:26 +0900)]
signature: add test cases

2 years agotdm_audio: Add two initial test-cases.
Uwe Hermann [Sun, 24 Nov 2019 18:10:35 +0000 (19:10 +0100)]
tdm_audio: Add two initial test-cases.

2 years agoamulet_ascii: Add two initial test-cases.
Uwe Hermann [Sun, 24 Nov 2019 15:18:56 +0000 (16:18 +0100)]
amulet_ascii: Add two initial test-cases.

2 years agouart: Add test-cases for rx_packet_delimiter/rx_packet_len et al.
Uwe Hermann [Tue, 12 Nov 2019 21:58:09 +0000 (22:58 +0100)]
uart: Add test-cases for rx_packet_delimiter/rx_packet_len et al.

2 years agoeeprom93xx: Use fixed-width hex output.
Uwe Hermann [Sat, 9 Nov 2019 14:48:06 +0000 (15:48 +0100)]
eeprom93xx: Use fixed-width hex output.

2 years agoeeprom93xx: Add OUTPUT_BINARY test-cases.
Uwe Hermann [Sat, 9 Nov 2019 14:46:47 +0000 (15:46 +0100)]
eeprom93xx: Add OUTPUT_BINARY test-cases.

2 years agoseven_segment: Add three test-cases
Benedikt Otto [Sat, 12 Oct 2019 17:56:39 +0000 (19:56 +0200)]
seven_segment: Add three test-cases

2 years agocan: Update test-cases after CAN-FD support was added.
Uwe Hermann [Sun, 6 Oct 2019 22:03:30 +0000 (00:03 +0200)]
can: Update test-cases after CAN-FD support was added.

2 years agocan: Fix test-cases after option rename to 'nominal_bitrate'.
Uwe Hermann [Mon, 8 Jul 2019 09:05:27 +0000 (11:05 +0200)]
can: Fix test-cases after option rename to 'nominal_bitrate'.

2 years agocan: add canfd tests can_fd_without_brs_8 + can_fd_without_brs_64
Stephan Thiele [Sat, 23 Feb 2019 14:41:08 +0000 (15:41 +0100)]
can: add canfd tests can_fd_without_brs_8 + can_fd_without_brs_64

2 years agoeeprom93xx: Add a test-case for the new format=ascii option.
Uwe Hermann [Thu, 29 Aug 2019 23:24:38 +0000 (01:24 +0200)]
eeprom93xx: Add a test-case for the new format=ascii option.

2 years agomrf24j40: Add a few more test-cases.
Uwe Hermann [Fri, 23 Aug 2019 11:17:52 +0000 (13:17 +0200)]
mrf24j40: Add a few more test-cases.

2 years agomrf24j40: Update due to recent PD and directory changes.
Uwe Hermann [Fri, 23 Aug 2019 11:04:56 +0000 (13:04 +0200)]
mrf24j40: Update due to recent PD and directory changes.

3 years agoAdd some NXP PCA9571 decoder test.
Mickael Bosch [Tue, 2 Jul 2019 14:33:02 +0000 (16:33 +0200)]
Add some NXP PCA9571 decoder test.

3 years agomodbus: Add a wizmodbus test-case.
Uwe Hermann [Sun, 30 Jun 2019 22:25:25 +0000 (00:25 +0200)]
modbus: Add a wizmodbus test-case.

3 years agomodbus: Add a few flowmeter test-cases.
Uwe Hermann [Sun, 30 Jun 2019 21:39:18 +0000 (23:39 +0200)]
modbus: Add a few flowmeter test-cases.

3 years agomodbus: Add missing "option cschannel=TX" for clarity.
Uwe Hermann [Sun, 30 Jun 2019 20:12:53 +0000 (22:12 +0200)]
modbus: Add missing "option cschannel=TX" for clarity.

3 years agomodbus: Add missing "option parity_type=even".
Uwe Hermann [Sun, 30 Jun 2019 20:10:53 +0000 (22:10 +0200)]
modbus: Add missing "option parity_type=even".

3 years agomodbus: Update test-case due to recent PD changes.
Uwe Hermann [Sun, 30 Jun 2019 20:10:21 +0000 (22:10 +0200)]
modbus: Update test-case due to recent PD changes.

3 years agosdcard_spi: Update tests due to recent PD bug #1376 changes.
Uwe Hermann [Sun, 30 Jun 2019 15:11:22 +0000 (17:11 +0200)]
sdcard_spi: Update tests due to recent PD bug #1376 changes.

3 years agosdcard_spi: Add a CMD17 test-case.
Uwe Hermann [Sun, 30 Jun 2019 13:30:55 +0000 (15:30 +0200)]
sdcard_spi: Add a CMD17 test-case.

3 years agousb_request: Add a few in_request_start=first-ack test-cases.
Uwe Hermann [Thu, 20 Jun 2019 18:40:58 +0000 (20:40 +0200)]
usb_request: Add a few in_request_start=first-ack test-cases.

3 years agousb_request: Update test-cases after recent PD fixes.
Uwe Hermann [Thu, 20 Jun 2019 18:11:47 +0000 (20:11 +0200)]
usb_request: Update test-cases after recent PD fixes.

3 years agousb: Add a few cp2102_setup_with_outdata_nak* test-cases.
Uwe Hermann [Thu, 20 Jun 2019 17:47:04 +0000 (19:47 +0200)]
usb: Add a few cp2102_setup_with_outdata_nak* test-cases.

3 years agousb: Add a few cp2110_serial_over_hid_ut612* test-cases.
Uwe Hermann [Thu, 20 Jun 2019 17:20:57 +0000 (19:20 +0200)]
usb: Add a few cp2110_serial_over_hid_ut612* test-cases.

3 years agoenc28j60: Add a test-case.
Uwe Hermann [Tue, 14 May 2019 23:07:32 +0000 (01:07 +0200)]
enc28j60: Add a test-case.

3 years agoRename 2ch-16bit-16khz to 2ch-32bit-8khz.
Uwe Hermann [Tue, 30 Apr 2019 17:21:48 +0000 (19:21 +0200)]
Rename 2ch-16bit-16khz to 2ch-32bit-8khz.

https://github.com/sigrokproject/libsigrokdecode/pull/6#issuecomment-442025810

3 years agoatsha204a: Update due to recent PD fix.
Uwe Hermann [Tue, 30 Apr 2019 17:13:26 +0000 (19:13 +0200)]
atsha204a: Update due to recent PD fix.

3 years agoatsha204a: Add tests for atecc508a
Michalis Pappas [Fri, 26 Apr 2019 16:02:42 +0000 (18:02 +0200)]
atsha204a: Add tests for atecc508a

3 years agospi: Update due to removed bogus "transfer" items.
Uwe Hermann [Wed, 24 Apr 2019 19:57:49 +0000 (21:57 +0200)]
spi: Update due to removed bogus "transfer" items.

3 years agospi: Update due to new "transfer" annotations.
Uwe Hermann [Wed, 24 Apr 2019 19:55:46 +0000 (21:55 +0200)]
spi: Update due to new "transfer" annotations.

3 years agospi: Add two more test-cases.
Uwe Hermann [Wed, 24 Apr 2019 19:43:34 +0000 (21:43 +0200)]
spi: Add two more test-cases.

3 years agocc1101: Add a few test-cases.
Uwe Hermann [Wed, 17 Apr 2019 20:38:35 +0000 (22:38 +0200)]
cc1101: Add a few test-cases.

3 years agoi2c: Add ROHM BH1750VFI test-cases.
Uwe Hermann [Wed, 17 Apr 2019 18:09:07 +0000 (20:09 +0200)]
i2c: Add ROHM BH1750VFI test-cases.

3 years agosdcard_spi: Add another CMD24 test-case.
Uwe Hermann [Wed, 17 Apr 2019 14:30:00 +0000 (16:30 +0200)]
sdcard_spi: Add another CMD24 test-case.

3 years agosdcard_spi: Update wrt recent PD changes (duplicate annotations).
Uwe Hermann [Mon, 15 Apr 2019 18:21:24 +0000 (20:21 +0200)]
sdcard_spi: Update wrt recent PD changes (duplicate annotations).

3 years agosdcard_spi: Add CMD24 test-cases.
Uwe Hermann [Mon, 15 Apr 2019 16:29:39 +0000 (18:29 +0200)]
sdcard_spi: Add CMD24 test-cases.

3 years agox2444m: Drop incorrect line from test.conf.
Uwe Hermann [Tue, 2 Apr 2019 18:46:39 +0000 (20:46 +0200)]
x2444m: Drop incorrect line from test.conf.

3 years agods1307: Add an additional test-case.
Uwe Hermann [Tue, 12 Feb 2019 17:11:23 +0000 (18:11 +0100)]
ds1307: Add an additional test-case.

3 years agoHD44780 dump has moved into display/ subdirectory
Gerhard Sittig [Sun, 20 Jan 2019 10:16:37 +0000 (11:16 +0100)]
HD44780 dump has moved into display/ subdirectory

3 years agoi2s: Updates due to recent PD changes.
Uwe Hermann [Sun, 25 Nov 2018 11:40:35 +0000 (12:40 +0100)]
i2s: Updates due to recent PD changes.

3 years agouart: catch up with recently added FRAME Python annotation
Gerhard Sittig [Sat, 24 Nov 2018 10:29:09 +0000 (11:29 +0100)]
uart: catch up with recently added FRAME Python annotation

3 years agox2444m: Update to match recent decoder changes.
Uwe Hermann [Sat, 10 Nov 2018 17:49:34 +0000 (18:49 +0100)]
x2444m: Update to match recent decoder changes.

3 years agoAdd test for x2444m decoder.
Stefan Petersen [Tue, 6 Nov 2018 19:31:52 +0000 (20:31 +0100)]
Add test for x2444m decoder.

3 years agoadd LIN tests
stephan.thiele [Sat, 20 Oct 2018 15:25:33 +0000 (17:25 +0200)]
add LIN tests

3 years agoREADME: improve pdtest documentation
stephan.thiele [Sat, 20 Oct 2018 15:23:23 +0000 (17:23 +0200)]
README: improve pdtest documentation

3 years agospiflash: Updates due to recent PD chages.
Uwe Hermann [Sun, 21 Oct 2018 16:12:41 +0000 (18:12 +0200)]
spiflash: Updates due to recent PD chages.

3 years agospiflash: Add a few Winbond W25Q80DV tests.
Uwe Hermann [Sun, 21 Oct 2018 15:58:35 +0000 (17:58 +0200)]
spiflash: Add a few Winbond W25Q80DV tests.

3 years agouart: Update due to recent break condition support in the PD.
Uwe Hermann [Tue, 16 Oct 2018 19:41:48 +0000 (21:41 +0200)]
uart: Update due to recent break condition support in the PD.

3 years agoook*: Update due to recent decoder changes.
Uwe Hermann [Sat, 13 Oct 2018 15:50:30 +0000 (17:50 +0200)]
ook*: Update due to recent decoder changes.

3 years agoAdd a few ook_vis test-cases.
Uwe Hermann [Tue, 11 Sep 2018 06:52:49 +0000 (08:52 +0200)]
Add a few ook_vis test-cases.

3 years agoAdd a few ook_oregon test-cases.
Uwe Hermann [Tue, 11 Sep 2018 06:36:49 +0000 (08:36 +0200)]
Add a few ook_oregon test-cases.

3 years agoAdd a few ook test-cases.
Uwe Hermann [Tue, 11 Sep 2018 06:26:49 +0000 (08:26 +0200)]
Add a few ook test-cases.

3 years agomiller: Add a few test-cases.
Uwe Hermann [Sun, 9 Sep 2018 17:20:06 +0000 (19:20 +0200)]
miller: Add a few test-cases.

3 years agocec: Tests for HDMI CEC protocol decoder
Jorge Solla [Sun, 2 Sep 2018 21:53:50 +0000 (23:53 +0200)]
cec: Tests for HDMI CEC protocol decoder

3 years agousb_power_delivery: Update to recent PD changes.
Uwe Hermann [Sun, 9 Sep 2018 14:13:57 +0000 (16:13 +0200)]
usb_power_delivery: Update to recent PD changes.

3 years agousb_power_delivery: Drop currently non-existing OUT_PYTHON.
Uwe Hermann [Sun, 9 Sep 2018 13:58:19 +0000 (15:58 +0200)]
usb_power_delivery: Drop currently non-existing OUT_PYTHON.

3 years agousb_power_delivery: Add new tests
Peetz0r [Fri, 7 Sep 2018 06:51:36 +0000 (08:51 +0200)]
usb_power_delivery: Add new tests

3 years agousb_power_delivery: Update tests to match new output of decoder
Peetz0r [Fri, 7 Sep 2018 02:08:03 +0000 (04:08 +0200)]
usb_power_delivery: Update tests to match new output of decoder

3 years agoswim: Add test-cases for binary output.
Uwe Hermann [Wed, 5 Sep 2018 23:21:27 +0000 (01:21 +0200)]
swim: Add test-cases for binary output.

3 years agoTests for the decoder for STM8 series MCUs SWIM protocol.
Mike Jagdis [Wed, 8 Aug 2018 20:35:00 +0000 (21:35 +0100)]
Tests for the decoder for STM8 series MCUs SWIM protocol.

Signed-off-by: Mike Jagdis <mjagdis@eris-associates.co.uk> (github: mjagdis)
3 years agoedid: Add acer_al711_on_dp_dm_hdmi_vga test-case.
Uwe Hermann [Wed, 29 Aug 2018 18:41:36 +0000 (20:41 +0200)]
edid: Add acer_al711_on_dp_dm_hdmi_vga test-case.

3 years agoedid: Update tests due to recent PD changes.
Uwe Hermann [Wed, 29 Aug 2018 18:34:30 +0000 (20:34 +0200)]
edid: Update tests due to recent PD changes.

4 years agomdio: add test for "READ without ADDRESS" (bug #1258)
Gerhard Sittig [Wed, 1 Aug 2018 17:11:33 +0000 (19:11 +0200)]
mdio: add test for "READ without ADDRESS" (bug #1258)

4 years agoAdd a jtag_ejtag test-case.
Uwe Hermann [Thu, 21 Jun 2018 19:23:23 +0000 (21:23 +0200)]
Add a jtag_ejtag test-case.

4 years agomdio: Update files due to recent decoder change.
Uwe Hermann [Sun, 10 Jun 2018 18:00:49 +0000 (20:00 +0200)]
mdio: Update files due to recent decoder change.

4 years agoAdd a CFP test-case.
Uwe Hermann [Sun, 10 Jun 2018 14:14:49 +0000 (16:14 +0200)]
Add a CFP test-case.

4 years agocounter: Update test results to reflect recent PD changes.
Uwe Hermann [Wed, 30 May 2018 06:25:05 +0000 (08:25 +0200)]
counter: Update test results to reflect recent PD changes.

4 years agoAdd tests for atsha204a
Michalis Pappas [Thu, 26 Apr 2018 16:10:13 +0000 (19:10 +0300)]
Add tests for atsha204a

4 years agoeeprom24xx: add glasgow-firmware-flash test case.
whitequark [Mon, 21 May 2018 16:33:15 +0000 (16:33 +0000)]
eeprom24xx: add glasgow-firmware-flash test case.

4 years agost7735: Add basic ST7735 test-case.
Aleksander Alekseev [Tue, 8 May 2018 19:03:54 +0000 (22:03 +0300)]
st7735: Add basic ST7735 test-case.

4 years agorgb_led_ws281x: Add a WS2812B NeoPixel24 test-case.
Uwe Hermann [Sun, 13 May 2018 15:39:50 +0000 (17:39 +0200)]
rgb_led_ws281x: Add a WS2812B NeoPixel24 test-case.

4 years agomcs48: Add test for binary output (ROM data, address and data bytes)
Gerhard Sittig [Sat, 12 May 2018 20:18:01 +0000 (22:18 +0200)]
mcs48: Add test for binary output (ROM data, address and data bytes)

4 years agoREADME: add section on adding tests
fenugrec [Fri, 27 Apr 2018 14:22:22 +0000 (10:22 -0400)]
README: add section on adding tests

4 years agoruntc: print errors at more failure points
fenugrec [Fri, 27 Apr 2018 14:04:41 +0000 (10:04 -0400)]
runtc: print errors at more failure points

run_testcase() can fail in many ways and just cause runtc to return 1,
at least now it doesn't do so silently.

4 years agoAdd test for mcs48 decoder
fenugrec [Fri, 27 Apr 2018 14:26:29 +0000 (10:26 -0400)]
Add test for mcs48 decoder

4 years agojtag_stm32: Update testcases
George Hopkins [Thu, 30 Nov 2017 16:23:13 +0000 (17:23 +0100)]
jtag_stm32: Update testcases

Due to bug #1066, the output of all DR/IR bits changed in
the underlying JTAG decoder.

4 years agojtag: Fix shifting of registers
George Hopkins [Thu, 30 Nov 2017 16:19:12 +0000 (17:19 +0100)]
jtag: Fix shifting of registers

As reported in bug #1066, the decoding of IR/DR bits was incorrect.

4 years agospiflash: Add an Adesto AT45DB161E test-case.
Uwe Hermann [Thu, 3 May 2018 13:09:09 +0000 (15:09 +0200)]
spiflash: Add an Adesto AT45DB161E test-case.

4 years agodcf77: adjust test expectation (PD emits more "invalid" annotations)
Gerhard Sittig [Mon, 23 Apr 2018 21:40:57 +0000 (23:40 +0200)]
dcf77: adjust test expectation (PD emits more "invalid" annotations)

The dcf77 decoder recently started emitting "invalid bit timing" and
"Invalid DCF77 bit number" annotations, and does display bit positions
of the 59th and subsequent pulse within a minute.

4 years agocan: Update tests wrt the fix for bug #1085.
Uwe Hermann [Thu, 12 Apr 2018 07:28:33 +0000 (09:28 +0200)]
can: Update tests wrt the fix for bug #1085.

4 years agoAdd a few test-cases for rc_encode.
Uwe Hermann [Sun, 8 Apr 2018 16:39:14 +0000 (18:39 +0200)]
Add a few test-cases for rc_encode.

4 years agoAdd a few sda2506 test-cases.
Uwe Hermann [Wed, 7 Mar 2018 00:12:03 +0000 (01:12 +0100)]
Add a few sda2506 test-cases.

4 years agoir_nec: add test for the optional carrier detect feature
Gerhard Sittig [Sat, 10 Feb 2018 15:50:07 +0000 (16:50 +0100)]
ir_nec: add test for the optional carrier detect feature

The IR-NEC decoder optionally can handle input streams that still have
the carrier signal. Add a test for this configuration, derived from the
test which uses the signal that had the carrier removed in hardware.

The same data is seen, just at different sample numbers. The content was
verified by means of the "cut -d ' ' -f 2-" and "diff" commands.

4 years agograycode: add test for stream without sample rate
Gerhard Sittig [Tue, 13 Feb 2018 19:45:34 +0000 (20:45 +0100)]
graycode: add test for stream without sample rate

Use a smaller input stream which lacks a samplerate spec. This results
in output that lacks the timing information (motion speed), but step
count and direction are identical to the other existing test.

4 years agostepper_motor: add test for input stream without sample rate
Gerhard Sittig [Sat, 10 Feb 2018 18:04:35 +0000 (19:04 +0100)]
stepper_motor: add test for input stream without sample rate

The stepper motor decoder can still determine the steps' directions
and count. Missing input sample rates just prevent the decoder from
outputting speed annotations. All other decoder output is identical.

4 years agostepper_motor: lack of samplerate is not fatal any longer
Gerhard Sittig [Fri, 9 Feb 2018 06:08:59 +0000 (07:08 +0100)]
stepper_motor: lack of samplerate is not fatal any longer

4 years agoi2s: add test for stream without sample rate
Gerhard Sittig [Sat, 10 Feb 2018 17:28:03 +0000 (18:28 +0100)]
i2s: add test for stream without sample rate

Use a smaller input stream which lacks a samplerate spec. This results
in identical decoder output (the existing test did not cover throughput
annotations).

4 years agoi2s: lack of samplerate is not fatal any longer
Gerhard Sittig [Fri, 9 Feb 2018 06:08:39 +0000 (07:08 +0100)]
i2s: lack of samplerate is not fatal any longer

4 years agoi2c: add test for input stream without sample rate (identical decoder output)
Gerhard Sittig [Sat, 10 Feb 2018 16:22:01 +0000 (17:22 +0100)]
i2c: add test for input stream without sample rate (identical decoder output)

The existing test did not check the throughput annotation. Which is why
the decoder output is identical for input streams with and without a
sample rate specification.