Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 |