summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-10 17:17:38 +0100
committerBert Vermeulen <bert@biot.com>2013-12-10 17:22:24 +0100
commitfbd226c3f70f20fdf3cbfd43a671bf2bcc5d23e6 (patch)
tree7372a8e8b359b38a1a542a16fe14dd9058d5bded /session.c
parent4d2c7619ec72728dd01999f20ef1004e018d18a4 (diff)
downloadlibsigrokdecode-fbd226c3f70f20fdf3cbfd43a671bf2bcc5d23e6.tar.gz
libsigrokdecode-fbd226c3f70f20fdf3cbfd43a671bf2bcc5d23e6.zip
Add protocol decoder testing framework.
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.
Diffstat (limited to 'session.c')
0 files changed, 0 insertions, 0 deletions