Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-23 | pdtest/runtc: Support for output type 'exception'. | Bert Vermeulen | |
The match value should be the name of the exception thrown, e.g. AttributeError, IndexError or even a custom exception defined in the protocol decoder, such as SamplerateError. | |||
2014-05-23 | runtc.c: Fix compiler warning | Kumar Abhishek | |
c was of type char, while getopt returns an int. This caused a compiler warning during build. | |||
2014-05-03 | Don't define names ending with _t (POSIX reserved). | Uwe Hermann | |
Avoid defining any names ending in _t, those are generally reserved for POSIX usage. For details see: http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html | |||
2014-05-03 | tests/check_session.c: Use UINT64_MAX. | Uwe Hermann | |
2014-04-13 | Rename 'probe' to 'channel' everywhere. | Uwe Hermann | |
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'. | |||
2014-04-13 | Switch to a non-recursive automake setup. | Uwe Hermann | |
(fewer files, less clutter) | |||
2014-03-20 | pdtest: Add support for code coverage. | Bert Vermeulen | |
2014-03-20 | runtc: Add list of missed lines to coverage output. | Bert Vermeulen | |
2014-03-17 | Add support for code coverage of used decoder modules. | Bert Vermeulen | |
2014-03-14 | pdtest: Small fix. | Bert Vermeulen | |
2014-02-24 | Make the data unit size configurable | Daniel Elstner | |
2014-02-01 | Fix more warnings exposed by -Wmissing-prototypes. | Uwe Hermann | |
2014-01-30 | Fix warnings exposed by -Wmissing-prototypes. | Uwe Hermann | |
2014-01-28 | tests/pdtest: Fix -R (takes an argument). | Uwe Hermann | |
2014-01-28 | tests/runtc.c: Minor whitespace fixes. | Uwe Hermann | |
2014-01-28 | tests/pdtest: Add missing license header. | Uwe Hermann | |
2014-01-28 | tests/pdtest: Fix shebang line. | Uwe Hermann | |
2013-12-22 | runtc: Fix conditional build on non-Linux systems. | Bert Vermeulen | |
2013-12-18 | Don't install runtc. | Arkadiusz Miśkiewicz | |
Don't install runtc. Not meant for generic usage. Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl> | |||
2013-12-18 | runtc: Output binary as ASCII timestamp/class/hex bytes instead. | Bert Vermeulen | |
This allows for verifying timestamps and classes as well. | |||
2013-12-15 | runtc: Make sure to compile against this library | Bert Vermeulen | |
It might compile against a previously-installed one unless the linker finds it in the top directory first. | |||
2013-12-13 | pdtest/runtc: Add support for Python output types. | Bert Vermeulen | |
2013-12-12 | pdtest/runtc: Add support for binary output types. | Bert Vermeulen | |
2013-12-12 | pdtest: Add -f option to automatically fix failing tests. | Bert Vermeulen | |
2013-12-12 | runtc: Add support for binary output. | Bert Vermeulen | |
2013-12-11 | runtc: Return errorcode according to testcase result. | Bert Vermeulen | |
2013-12-11 | pdtest: Use -dd to turn on SR/SRD debugging. | Bert Vermeulen | |
2013-12-11 | check: Make sure to test this set of decoders, not the installed ones. | Bert Vermeulen | |
2013-12-11 | runtc: Make sure to test this set of decoders, not the installed ones. | Bert Vermeulen | |
2013-12-11 | pdtest: Don't bother with diff if any error at all occurred. | Bert Vermeulen | |
2013-12-11 | pdtest: Add option for custom sigrok-dumps repository path. | Bert Vermeulen | |
2013-12-11 | pdtest: Always sanity-check all testcases. | Bert Vermeulen | |
2013-12-11 | Clean up runtc build. | Bert Vermeulen | |
This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place. | |||
2013-12-10 | Add protocol decoder testing framework. | Bert Vermeulen | |
This adds a tool in the tests directory, called pdtest. It uses the "test/" directory in every PD directory, if present, to run the PD against dumps found in the sigrok-dumps repository, and compares the output against ".output" files in the "test/" directory. The file "test/test.conf" is used to configure which tests to run. A separate tool (tests/runtc.c) is used to run the actual decoding and report output. To get an overview of the options, run tests/pdtest without any options. | |||
2013-11-18 | Turn off excessive logging | Bert Vermeulen | |
2013-11-18 | Remove unreasonable test | Bert Vermeulen | |
2013-11-18 | Fix inverted condition on doc check | Bert Vermeulen | |
2013-11-18 | Fix inverted condition on decoder check | Bert Vermeulen | |
2013-10-31 | unittests: Update to recent API changes. | Uwe Hermann | |
srd_session_config_set() is now called srd_session_metadata_set(), and SRD_CONF_NUM_PROBES and SRD_CONF_UNITSIZE are dropped. | |||
2013-10-24 | testsuite: Add some decoder instance related tests. | Uwe Hermann | |
2013-10-20 | testsuite: Add a few session related unit tests. | Uwe Hermann | |
2013-10-18 | testsuite: Add a few more unit tests. | Uwe Hermann | |
2013-10-17 | testsuite: Add some basic tests for loading PDs. | Uwe Hermann | |
2013-10-17 | Add a testsuite for libsigrokdecode. | Uwe Hermann | |
This uses the Check unit testing framework, just like libsigrok. For now, only a few very basic unit tests are included. Invocation: make check |