sigrok-test.git
12 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

19 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

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

21 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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

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

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

2 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

2 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

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

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

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

2 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)

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

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

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

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

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

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

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

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

2 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)

2 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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

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

2 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

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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

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

2 years 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.

2 years 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.

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

2 years 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.

3 years agousb_{signalling,packet,request}: Add another test-case.
Uwe Hermann [Tue, 25 Jul 2017 06:28:01 +0000 (08:28 +0200)]
usb_{signalling,packet,request}: Add another test-case.

3 years agocan: catch up with sample number changes after clock sync introduction
Gerhard Sittig [Sun, 2 Jul 2017 14:54:48 +0000 (16:54 +0200)]
can: catch up with sample number changes after clock sync introduction

The CAN decoder got adjusted to synchronize to the input stream's clock.
Catch up in the test expectation.

3 years agoonewire_network: Adjust test expectation for sample number fix in the PD
Gerhard Sittig [Sun, 18 Jun 2017 20:52:08 +0000 (22:52 +0200)]
onewire_network: Adjust test expectation for sample number fix in the PD

The start sample number of onewire network decoder annotations got fixed
in the decoder implementation (used to start one bit late). Catch up in
the test expectation.

3 years agopwm: Adjust binary output test for sample number fix in the PD
Gerhard Sittig [Sun, 18 Jun 2017 20:15:29 +0000 (22:15 +0200)]
pwm: Adjust binary output test for sample number fix in the PD

The previous implementation used the period counter instead of the
period's actual start and end sample number. The implementation got
fixed, catch up in the test expectation.

3 years agodsi: Update due to recent minor PD changes.
Uwe Hermann [Fri, 16 Jun 2017 14:20:00 +0000 (16:20 +0200)]
dsi: Update due to recent minor PD changes.

3 years agopwm: Add a few more test-cases.
Uwe Hermann [Thu, 15 Jun 2017 19:26:43 +0000 (21:26 +0200)]
pwm: Add a few more test-cases.

3 years agospi: Missing samplerate spec is not fatal
Gerhard Sittig [Tue, 6 Jun 2017 21:09:44 +0000 (23:09 +0200)]
spi: Missing samplerate spec is not fatal

Remove the "exception_samplerate" test for the SPI decoder. Lack of a
samplerate specification only breaks the emission of the throughput
annotations, but still allows decoding the clocked signal.