summaryrefslogtreecommitdiff
path: root/decoder/test/ir_nec
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 08:39:20 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 16:58:17 +0200
commit80cc8a49a87e5f2e4ffc1cbb795419dab105d5b0 (patch)
tree4045d444b24bb66dec9c2a57b2226ec276235d15 /decoder/test/ir_nec
parent450d475b2bfc3e73d56580e0061a508fa67972b0 (diff)
downloadsigrok-test-80cc8a49a87e5f2e4ffc1cbb795419dab105d5b0.tar.gz
sigrok-test-80cc8a49a87e5f2e4ffc1cbb795419dab105d5b0.zip
runtc: add support for input file formats other than native srzip
Introduce the -I command line option for the tstrun(1) utility, accept input file format names, and options for the input module. Take single words in multiple -I specs to simplify the internal interface between the pdtest(1) and the tstrun(1) tools. This follows the existing pattern for decoder options and channel assignments. The first spec is the file format name (use 'match' for automatic detection). Subsequent specs are input module options. This makes all libsigrok supported input file formats available to the sigrok-test environment, which formerly was constrained to .sr archives only. Although the runtc(1) utility resides in the "decoder/" hierarchy, it can both use VCD and other files to stimulate decoder tests, as well as cover file formats and their specific features in future tests by checking that the imported file's content is seen or that their options take effect.
Diffstat (limited to 'decoder/test/ir_nec')
0 files changed, 0 insertions, 0 deletions