summaryrefslogtreecommitdiff
path: root/decoder
AgeCommit message (Collapse)Author
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
2017-02-27runtc: unbreak the protocol decoder output match logic (type vs instance)Gerhard Sittig
Recent libsigrokdecode adjustment changed decoder output. The ID of a protocol decoder instance need no longer match the decoder type's name even for simple setups. Lookup the selected decoder's instance ID during construction of the decoder stack. Such that the selected decoder's data can get identified in the output of the stack which is received by runtc(1). Note that this implementation passes the decoder type's name to the runtc(1) output file, so that it keeps matching the expected .output files when pdtest(1) compares those two streams. This approach avoids the necessity to adjust test.conf or .output files. It will no longer be appropriate when more complex test configurations shall be supported which involve multiple instances of the same decoder type or multiple stacks of decoders.
2017-02-27runtc: fixup coding style (conditionals, braces)Gerhard Sittig
When a conditional has one complex branch (multiple instructions), both branches are supposed to have braces around them. Instead of putting extra braces around single instructions, eliminate the "else" branch since the "if" branch already ends in break or return respectively.
2017-02-27runtc: minor nits in main()Gerhard Sittig
Pass NULL instead of 0 where a pointer is expected. Fixup whitespace.
2017-02-27runtc: minor nits in usage(), add missing optionsGerhard Sittig
Adjust the screen layout of usage() output: Align parameters to options in identical ways, to separate them from descriptions for options which don't take parameters. Add previously not listed options.
2017-02-25iec: Add a simple test-case.Uwe Hermann
2017-02-20Use PD ID (not PD instance ID) for now.Uwe Hermann
This is related to the libsigrokdecode change regarding bug #868.
2017-02-14adf435x: Add an initial test-case.Uwe Hermann
2017-02-03arm_tpiu: Fix confusing file and test-case naming.Uwe Hermann
2017-02-02runtc, pdtest: Fixup minor style nitsGerhard Sittig
Address several minor style nits: Remove trailing empty lines in source files. Declare 'static' auto variables before non-static variables. Re-use the result of a division instead of running the calculation again.
2017-01-25pdtest: Make exit code communicate the termination cause not countsGerhard Sittig
On one hand the exit(3) API might limit the range of values that can get communicated to callers (a single byte is used in some implementations). On the other hand wait(2) might interpret specific meaning into some of the returned values (abnormal cause of termination, like unhandled signals). So the use of error counts as exit codes for processes can be severely constrained. For specific non-zero values of error counts, an exit code of zero might be seen at the caller's side (modulo calculation or truncation). Don't pass error or difference counts to exit(3). Instead communicate the kind of termination (error or difference or success) in exit codes which reliably can get evaluated by callers.
2017-01-25pdtest: Exit non-zero for errors as well as PD output differencesGerhard Sittig
Make the pdtest(1) executable return a non-zero exit code for errors during test execution (as before) as well as for differences in the decoder output (that's the change). Return either the number of errors seen, or the number of tests which saw different output. Only return zero in the absence of errors and differences.
2016-12-26avr-pdi: Add initial AVR PDI test caseGerhard Sittig
2016-11-07spiflash: Update due to recent PD changes.Uwe Hermann
2016-11-06spiflash: Enforce chip selection for all test-cases.Uwe Hermann
2016-11-04ps2: Add an initial PS/2 keyboard test-case.Uwe Hermann
2016-11-02pdtest: Minor help text improvements.Uwe Hermann
2016-10-23spi: Add some test-cases for wordsize != 8.Uwe Hermann
2016-10-23uart: Update test-cases for recent UART PD changes.Uwe Hermann
2016-10-23uart: Make rxtx_overlapped test-case use format=hex.Uwe Hermann
2016-10-23uart: Explicitly select a format option for the tests.Uwe Hermann
2016-10-23uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1.Uwe Hermann
2016-10-12Add a test-case for the GPIB decoder.Uwe Hermann
2016-09-24midi: Add 3 new test-cases, update existing ones.Chris
2016-09-24midi: chromatic_notes in list.py was off by 1 octaveChris
(ex: note 60 is middle C which is C4, not C3)
2016-09-24uart: Add a test-case for overlapping RX/TX bytes.Uwe Hermann
2016-09-04midi: Update each annotation with multiple strings.Chris
(ranging from long, medium, and short lengths)