summaryrefslogtreecommitdiff
path: root/decoder
AgeCommit message (Collapse)Author
2018-05-21eeprom24xx: add glasgow-firmware-flash test case.whitequark
2018-05-13st7735: Add basic ST7735 test-case.Aleksander Alekseev
2018-05-13rgb_led_ws281x: Add a WS2812B NeoPixel24 test-case.Uwe Hermann
2018-05-12mcs48: Add test for binary output (ROM data, address and data bytes)Gerhard Sittig
2018-05-12runtc: print errors at more failure pointsfenugrec
run_testcase() can fail in many ways and just cause runtc to return 1, at least now it doesn't do so silently.
2018-05-12Add test for mcs48 decoderfenugrec
2018-05-03jtag_stm32: Update testcasesGeorge Hopkins
Due to bug #1066, the output of all DR/IR bits changed in the underlying JTAG decoder.
2018-05-03jtag: Fix shifting of registersGeorge Hopkins
As reported in bug #1066, the decoding of IR/DR bits was incorrect.
2018-05-03spiflash: Add an Adesto AT45DB161E test-case.Uwe Hermann
2018-04-24dcf77: adjust test expectation (PD emits more "invalid" annotations)Gerhard Sittig
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.
2018-04-12can: Update tests wrt the fix for bug #1085.Uwe Hermann
2018-04-08Add a few test-cases for rc_encode.Uwe Hermann
2018-03-07Add a few sda2506 test-cases.Uwe Hermann
2018-02-15ir_nec: add test for the optional carrier detect featureGerhard Sittig
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.
2018-02-13graycode: add test for stream without sample rateGerhard Sittig
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.
2018-02-11stepper_motor: add test for input stream without sample rateGerhard Sittig
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.
2018-02-11stepper_motor: lack of samplerate is not fatal any longerGerhard Sittig
2018-02-11i2s: add test for stream without sample rateGerhard Sittig
Use a smaller input stream which lacks a samplerate spec. This results in identical decoder output (the existing test did not cover throughput annotations).
2018-02-10i2s: lack of samplerate is not fatal any longerGerhard Sittig
2018-02-10i2c: add test for input stream without sample rate (identical decoder output)Gerhard Sittig
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.
2018-02-09i2c: lack of samplerate is not fatal any longerGerhard Sittig
2018-01-25ac97: introduce a basic test with the realtek alc655 snippetGerhard Sittig
2018-01-11counter: use HD44780 dump to check counter's reset_edge optionGerhard Sittig
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.
2018-01-06counter: adjust test config for renamed 'data_edge' optionGerhard Sittig
2018-01-06parallel: use HD44780 dump to test parallel's word demux featureGerhard Sittig
2018-01-03Add some counter test-cases.Uwe Hermann
2018-01-01parallel: adjust hex number format of expected PD outputGerhard Sittig
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.
2018-01-01usb_power_delivery: fixup order of combined annotation text fragmentsGerhard Sittig
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.
2017-12-09Add some graycode test-cases.Uwe Hermann
2017-11-20maple_bus: Add a simple test-case.Marcus Comstedt
2017-11-11i2s: Update wav output (PD now emits 32bit samples).Uwe Hermann
2017-10-31Adjust ds2432 test cases to the rename to ds243xSoeren Apel
2017-10-19Add a DS2432 test-case.Kevin Redon
This fixes (parts of) bug #1019.
2017-07-25usb_{signalling,packet,request}: Add another test-case.Uwe Hermann
2017-07-02can: catch up with sample number changes after clock sync introductionGerhard Sittig
The CAN decoder got adjusted to synchronize to the input stream's clock. Catch up in the test expectation.
2017-06-21onewire_network: Adjust test expectation for sample number fix in the PDGerhard Sittig
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.
2017-06-21pwm: Adjust binary output test for sample number fix in the PDGerhard Sittig
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.
2017-06-16dsi: Update due to recent minor PD changes.Uwe Hermann
2017-06-15pwm: Add a few more test-cases.Uwe Hermann
2017-06-06spi: Missing samplerate spec is not fatalGerhard Sittig
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.
2017-06-06Rename eeprom93cxx to eeprom93xx.Uwe Hermann
2017-06-06Add support for initial pin settings.Uwe Hermann
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).
2017-06-06swd: Add missing channels.Uwe Hermann
2017-06-06Fix issue in -s output.Uwe Hermann
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
2017-06-05ds28ea00: Update due to decoder rename.Uwe Hermann
2017-05-26can: Update test results wrt recent PD changes.Uwe Hermann
2017-05-25can: Update wrt new PD warnings.Uwe Hermann
2017-05-21sdcard_sd: add CMD23 testWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2017-05-13sdcard_sd: correct cmd numbers when prefixing responsesWolfram Sang
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2017-05-13timing: Update tests, add some more.Uwe Hermann