]> sigrok.org Git - sigrok-test.git/log
sigrok-test.git
4 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

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

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

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

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

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

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

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

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

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

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

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

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

5 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

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

5 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

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

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

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

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

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

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

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

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

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

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

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

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

5 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

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

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

5 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

5 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

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

5 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 <redacted> (github: mjagdis)
5 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.

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

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

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

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

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

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

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

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

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

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

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

5 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

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

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

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

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

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

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

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

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

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

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

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

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

6 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

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

6 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

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

6 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

6 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

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

6 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

6 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

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

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

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

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

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

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

6 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

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

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

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

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

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

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

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

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

6 years agoBump requirements to libsigrok/libsigrokdecode 0.5.0.
Uwe Hermann [Tue, 6 Jun 2017 12:39:57 +0000 (14:39 +0200)]
Bump requirements to libsigrok/libsigrokdecode 0.5.0.

6 years agoRename eeprom93cxx to eeprom93xx.
Uwe Hermann [Tue, 6 Jun 2017 10:49:42 +0000 (12:49 +0200)]
Rename eeprom93cxx to eeprom93xx.

6 years agoAdd support for initial pin settings.
Uwe Hermann [Mon, 5 Jun 2017 22:09:45 +0000 (00:09 +0200)]
Add support for initial pin settings.

Adapt all tests that require it to use the old behaviour of assuming an
initial pin value of 0 (or whatever was previously hardcoded in the PD).
for now (this will likely see some changes later).

6 years agoswd: Add missing channels.
Uwe Hermann [Mon, 5 Jun 2017 22:42:47 +0000 (00:42 +0200)]
swd: Add missing channels.

6 years agoFix issue in -s output.
Uwe Hermann [Mon, 5 Jun 2017 22:08:07 +0000 (00:08 +0200)]
Fix issue in -s output.

Option values are strings, not numbers.

This fixes:

$ ./decoder/pdtest -s jitter
Testcase: jitter/toim4243
  Protocol decoder: jitter
    Channel clk=3
    Channel sig=2
Error: %d format: a number is required, not str

6 years agods28ea00: Update due to decoder rename.
Uwe Hermann [Mon, 5 Jun 2017 15:04:06 +0000 (17:04 +0200)]
ds28ea00: Update due to decoder rename.

6 years agocan: Update test results wrt recent PD changes.
Uwe Hermann [Fri, 26 May 2017 13:57:49 +0000 (15:57 +0200)]
can: Update test results wrt recent PD changes.

6 years agocan: Update wrt new PD warnings.
Uwe Hermann [Thu, 25 May 2017 21:48:38 +0000 (23:48 +0200)]
can: Update wrt new PD warnings.

6 years agosdcard_sd: add CMD23 test
Wolfram Sang [Sun, 14 May 2017 09:30:15 +0000 (11:30 +0200)]
sdcard_sd: add CMD23 test

Signed-off-by: Wolfram Sang <redacted>
6 years agosdcard_sd: correct cmd numbers when prefixing responses
Wolfram Sang [Fri, 12 May 2017 11:58:29 +0000 (13:58 +0200)]
sdcard_sd: correct cmd numbers when prefixing responses

Signed-off-by: Wolfram Sang <redacted>
6 years agotiming: Update tests, add some more.
Uwe Hermann [Sat, 13 May 2017 14:12:06 +0000 (16:12 +0200)]
timing: Update tests, add some more.

6 years agotiming: add tests for noaverage/edge/delta modes
Karl Palsson [Tue, 11 Apr 2017 22:14:16 +0000 (22:14 +0000)]
timing: add tests for noaverage/edge/delta modes

Signed-off-by: Karl Palsson <redacted>
6 years agoargs: make pdtest -l behave as advertised.
Karl Palsson [Tue, 11 Apr 2017 21:31:10 +0000 (21:31 +0000)]
args: make pdtest -l behave as advertised.

Help says -l should list tests. Make it do so.
You can still do "-l uart" to see only uart tests, but -l by itself now
does what you expect.

Signed-off-by: Karl Palsson <redacted>
6 years agopdtest: say that '-f' creates initial output for new tests
Wolfram Sang [Wed, 3 May 2017 19:16:11 +0000 (21:16 +0200)]
pdtest: say that '-f' creates initial output for new tests

Signed-off-by: Wolfram Sang <redacted>
6 years agoAdd an eeprom93cxx test-case.
Uwe Hermann [Wed, 3 May 2017 20:27:51 +0000 (22:27 +0200)]
Add an eeprom93cxx test-case.

6 years agoAdd a microwire test-case.
Uwe Hermann [Wed, 3 May 2017 20:09:17 +0000 (22:09 +0200)]
Add a microwire test-case.