sigrok-test.git
7 days agouart: Add test-cases for rx_packet_delimiter/rx_packet_len et al. master
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.

10 days 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.

10 days 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.

13 days 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

6 weeks 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.

6 weeks 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'.

6 weeks 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 months 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 months 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 months 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.

4 months 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.

4 months 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.

4 months 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.

4 months 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.

4 months 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".

4 months 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.

4 months 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.

4 months 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.

5 months 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.

5 months 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.

5 months 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.

5 months 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.

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

6 months 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

6 months 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.

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

6 months 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.

6 months 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.

6 months 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.

7 months 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.

7 months 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.

7 months 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.

7 months 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).

7 months 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.

7 months 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.

9 months 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.

9 months 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

11 months 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.

11 months 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

12 months 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.

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

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

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

12 months 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.

12 months 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.

13 months 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.

13 months 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.

14 months 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.

14 months 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.

14 months 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.

14 months 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.

14 months 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

14 months 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.

14 months 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.

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

14 months 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

14 months 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.

14 months 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)
14 months 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.

14 months 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.

15 months 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)

16 months 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.

17 months 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.

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

17 months 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.

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

17 months 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.

18 months 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.

18 months 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.

18 months 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)

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

18 months 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.

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

18 months 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.

18 months 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.

18 months 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.

18 months 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.

19 months 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.

19 months 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.

20 months 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.

21 months 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.

21 months 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.

21 months 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.

21 months 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

21 months 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).

21 months 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

21 months 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.

21 months agoi2c: lack of samplerate is not fatal any longer
Gerhard Sittig [Fri, 9 Feb 2018 06:07:58 +0000 (07:07 +0100)]
i2c: lack of samplerate is not fatal any longer

21 months agoac97: introduce a basic test with the realtek alc655 snippet
Gerhard Sittig [Wed, 24 Jan 2018 19:31:26 +0000 (20:31 +0100)]
ac97: introduce a basic test with the realtek alc655 snippet

22 months agocounter: use HD44780 dump to check counter's reset_edge option
Gerhard Sittig [Thu, 11 Jan 2018 06:05:34 +0000 (07:05 +0100)]
counter: use HD44780 dump to check counter's reset_edge option

Resetting counters depending on the LCD controller's R/S signal yields
numbers that correspond to byte sequences that either "control" hardware
(register access) or carry "data" (display text).

Provide a test case for the rising edge of RESET. Existing cases already
covered the falling edge of RESET which is the default.

22 months agocounter: adjust test config for renamed 'data_edge' option
Gerhard Sittig [Sat, 6 Jan 2018 10:12:52 +0000 (11:12 +0100)]
counter: adjust test config for renamed 'data_edge' option

22 months agoparallel: use HD44780 dump to test parallel's word demux feature
Gerhard Sittig [Sat, 6 Jan 2018 09:54:22 +0000 (10:54 +0100)]
parallel: use HD44780 dump to test parallel's word demux feature

22 months agoAdd some counter test-cases.
Uwe Hermann [Wed, 3 Jan 2018 16:30:36 +0000 (17:30 +0100)]
Add some counter test-cases.

22 months agoparallel: adjust hex number format of expected PD output
Gerhard Sittig [Wed, 27 Dec 2017 16:50:14 +0000 (17:50 +0100)]
parallel: adjust hex number format of expected PD output

The parallel decoder got adjusted to emit annotations for "items" and
"words" in a unified format (consistent width, leading zeroes). Adjust
the test expectation to match the PD implementation.

22 months agousb_power_delivery: fixup order of combined annotation text fragments
Gerhard Sittig [Fri, 22 Dec 2017 18:00:43 +0000 (19:00 +0100)]
usb_power_delivery: fixup order of combined annotation text fragments

The USB power delivery decoder got adjusted to construct complex
annotations that consisted of several text fragments in a reproducible
order. Adjust the test expectation to match the PD implementation.

23 months agoAdd some graycode test-cases.
Uwe Hermann [Sat, 9 Dec 2017 16:17:29 +0000 (17:17 +0100)]
Add some graycode test-cases.

23 months agomaple_bus: Add a simple test-case.
Marcus Comstedt [Mon, 20 Nov 2017 19:56:10 +0000 (20:56 +0100)]
maple_bus: Add a simple test-case.

2 years agoi2s: Update wav output (PD now emits 32bit samples).
Uwe Hermann [Sat, 11 Nov 2017 17:45:19 +0000 (18:45 +0100)]
i2s: Update wav output (PD now emits 32bit samples).

2 years agoAdjust ds2432 test cases to the rename to ds243x
Soeren Apel [Tue, 31 Oct 2017 20:40:25 +0000 (21:40 +0100)]
Adjust ds2432 test cases to the rename to ds243x

2 years agoAdd a DS2432 test-case.
Kevin Redon [Thu, 19 Oct 2017 07:00:53 +0000 (09:00 +0200)]
Add a DS2432 test-case.

This fixes (parts of) bug #1019.