summaryrefslogtreecommitdiff
path: root/decoder
AgeCommit message (Collapse)Author
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
2017-05-13timing: add tests for noaverage/edge/delta modesKarl Palsson
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2017-05-13args: make pdtest -l behave as advertised.Karl Palsson
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 <karlp@tweak.net.au>
2017-05-06pdtest: say that '-f' creates initial output for new testsWolfram Sang
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2017-05-05Add an eeprom93cxx test-case.Uwe Hermann
2017-05-05Add a microwire test-case.Uwe Hermann
2017-05-02sdcard_sd: Update to reflect recent PD changes.Uwe Hermann
2017-04-07onewire_network: Add more test-cases.Uwe Hermann
2017-04-07onewire_link: Add more test-cases.Uwe Hermann
2017-04-06Adjust tests for the new onewire_link decoderKing Kévin
Time slots and reset pulse/presence detect end timestamps were off by 1 us. Additional warnings have been added for glitches. Incomplete starting patterns are ignored.
2017-03-28Add a Sensirion SHT3x test-case.Uwe Hermann
2017-03-28Add a Sensirion SHT2x test-case.Uwe Hermann
2017-03-28eeprom24xx: Add Xicor X24C02 test-case.Uwe Hermann
2017-03-15Add a DALI test-case.Uwe Hermann
2017-03-15Add a DSI test-case.Uwe Hermann