Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-27 | runtc: 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-27 | runtc: 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-27 | runtc: minor nits in main() | Gerhard Sittig | |
Pass NULL instead of 0 where a pointer is expected. Fixup whitespace. | |||
2017-02-27 | runtc: minor nits in usage(), add missing options | Gerhard 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-25 | iec: Add a simple test-case. | Uwe Hermann | |
2017-02-20 | Use PD ID (not PD instance ID) for now. | Uwe Hermann | |
This is related to the libsigrokdecode change regarding bug #868. | |||
2017-02-14 | adf435x: Add an initial test-case. | Uwe Hermann | |
2017-02-03 | arm_tpiu: Fix confusing file and test-case naming. | Uwe Hermann | |
2017-02-02 | runtc, pdtest: Fixup minor style nits | Gerhard 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-25 | pdtest: Make exit code communicate the termination cause not counts | Gerhard 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-25 | pdtest: Exit non-zero for errors as well as PD output differences | Gerhard 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-26 | avr-pdi: Add initial AVR PDI test case | Gerhard Sittig | |
2016-11-07 | spiflash: Update due to recent PD changes. | Uwe Hermann | |
2016-11-06 | spiflash: Enforce chip selection for all test-cases. | Uwe Hermann | |
2016-11-04 | ps2: Add an initial PS/2 keyboard test-case. | Uwe Hermann | |
2016-11-02 | pdtest: Minor help text improvements. | Uwe Hermann | |
2016-10-23 | spi: Add some test-cases for wordsize != 8. | Uwe Hermann | |
2016-10-23 | uart: Update test-cases for recent UART PD changes. | Uwe Hermann | |
2016-10-23 | uart: Make rxtx_overlapped test-case use format=hex. | Uwe Hermann | |
2016-10-23 | uart: Explicitly select a format option for the tests. | Uwe Hermann | |
2016-10-23 | uart: Add test-cases for 5n1, 6n1, 7n1, 8n1, 9n1. | Uwe Hermann | |
2016-10-12 | Add a test-case for the GPIB decoder. | Uwe Hermann | |
2016-09-24 | midi: Add 3 new test-cases, update existing ones. | Chris | |
2016-09-24 | midi: chromatic_notes in list.py was off by 1 octave | Chris | |
(ex: note 60 is middle C which is C4, not C3) | |||
2016-09-24 | uart: Add a test-case for overlapping RX/TX bytes. | Uwe Hermann | |
2016-09-04 | midi: Update each annotation with multiple strings. | Chris | |
(ranging from long, medium, and short lengths) | |||
2016-08-23 | Add a lot more MIDI test-cases. | Chris Dreher | |
Code coverage increased to 98%, only 5 lines missed. 4 are from handle_channel_msg_generic(). | |||
2016-08-22 | Add some SSI32 tests. | Uwe Hermann | |
2016-07-06 | Add a few DMX512 test-cases. | Uwe Hermann | |
2016-06-28 | timing: Update to latest PD changes. | Uwe Hermann | |
2016-06-26 | spiflash: Add a few more test-cases for dual I/O reads. | Uwe Hermann | |
2016-06-22 | spiflash: Add a few more test-cases. | Uwe Hermann | |
2016-05-18 | Add a few em4305 test-cases. | Uwe Hermann | |
2016-05-11 | usb_request: Update PCAP files due to recent changes. | Uwe Hermann | |
See bug #664 for details. | |||
2016-05-11 | Add wiegand 36bit test | Sean Burford | |
2016-05-04 | mdio: Add two more test-cases. | Uwe Hermann | |
2016-05-04 | mdio: Update output files for new MDIO decoder output. | Uwe Hermann | |
2016-03-20 | Add an AUD test-case. | Uwe Hermann | |
2016-03-04 | rgb_led_ws281x: Add a few test-cases. | Uwe Hermann | |
2016-02-29 | Add a few t55xx test cases. | Uwe Hermann | |
2015-12-27 | Add OUTPUT_PYTHON test-cases for all PDs. | Uwe Hermann | |
2015-12-25 | uart: Add more UART test-cases. | Uwe Hermann | |
2015-12-25 | usb_power_delivery: Add SamplerateError check. | Uwe Hermann | |
2015-12-25 | Add OUTPUT_BINARY test-cases for all PDs. | Uwe Hermann | |
2015-12-21 | parallel: Update input file location. | Uwe Hermann | |
2015-12-19 | Add a few em4100 test cases. | Uwe Hermann | |
2015-12-04 | usb*: Add a lot more test-cases. | Uwe Hermann | |
2015-12-04 | usb*: Update tests due to recent PD changes. | Uwe Hermann | |
2015-11-21 | usb_power_delivery: Add USB PD decoder tests | Vincent Palatin | |
Signed-off-by: Vincent Palatin <vpalatin@chromium.org> | |||
2015-11-04 | Tests for max7219 PD | Paul "LeoNerd" Evans | |