summaryrefslogtreecommitdiff
path: root/tests/runtc.c
AgeCommit message (Collapse)Author
2014-06-23pdtest/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-23runtc.c: Fix compiler warningKumar Abhishek
c was of type char, while getopt returns an int. This caused a compiler warning during build.
2014-05-03Don'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-04-13Rename '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-03-20runtc: Add list of missed lines to coverage output.Bert Vermeulen
2014-03-17Add support for code coverage of used decoder modules.Bert Vermeulen
2014-02-24Make the data unit size configurableDaniel Elstner
2014-01-30Fix warnings exposed by -Wmissing-prototypes.Uwe Hermann
2014-01-28tests/runtc.c: Minor whitespace fixes.Uwe Hermann
2013-12-22runtc: Fix conditional build on non-Linux systems.Bert Vermeulen
2013-12-18runtc: Output binary as ASCII timestamp/class/hex bytes instead.Bert Vermeulen
This allows for verifying timestamps and classes as well.
2013-12-13pdtest/runtc: Add support for Python output types.Bert Vermeulen
2013-12-12pdtest/runtc: Add support for binary output types.Bert Vermeulen
2013-12-12runtc: Add support for binary output.Bert Vermeulen
2013-12-11runtc: Return errorcode according to testcase result.Bert Vermeulen
2013-12-11pdtest: Use -dd to turn on SR/SRD debugging.Bert Vermeulen
2013-12-11runtc: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-10Add 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.