summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-12-11runtc: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11pdtest: Don't bother with diff if any error at all occurred.Bert Vermeulen
2013-12-11pdtest: Add option for custom sigrok-dumps repository path.Bert Vermeulen
2013-12-11pdtest: Always sanity-check all testcases.Bert Vermeulen
2013-12-11Clean 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-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.
2013-11-18Turn off excessive loggingBert Vermeulen
2013-11-18Remove unreasonable testBert Vermeulen
2013-11-18Fix inverted condition on doc checkBert Vermeulen
2013-11-18Fix inverted condition on decoder checkBert Vermeulen
2013-10-31unittests: 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-24testsuite: Add some decoder instance related tests.Uwe Hermann
2013-10-20testsuite: Add a few session related unit tests.Uwe Hermann
2013-10-18testsuite: Add a few more unit tests.Uwe Hermann
2013-10-17testsuite: Add some basic tests for loading PDs.Uwe Hermann
2013-10-17Add 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