]> sigrok.org Git - libsigrokdecode.git/commit
Load decoders from all search paths, not just the default.
authorBert Vermeulen <redacted>
Wed, 11 Dec 2013 17:31:56 +0000 (18:31 +0100)
committerBert Vermeulen <redacted>
Wed, 11 Dec 2013 17:31:56 +0000 (18:31 +0100)
commitea81b49a3ca4fff4994693d30045d51b86181e32
treea939623fa1ecc88115875f97c2566a796328cd7f
parent820bf44828745e7d0a7bb0974164acd899c3c113
Load decoders from all search paths, not just the default.

srd_decoder_load_all() was really only getting a list of decoders
from the default (installation) path, so could not find uninstalled
decoders, or those in a custom added search path.

This broke development of new PDs when using the SIGROKDECODE_DIR
environment variable, and broke many of the unit tests in the tests/
directory -- those actually tested against the already-installed
decoders, not the ones about to be installed.
decoder.c
srd.c