summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-28i2cdemux: Replaced I2C with I²CJoel Holdsworth
2013-12-28i2c: Replaced I2C with I²CJoel Holdsworth
2013-12-22runtc: Fix conditional build on non-Linux systems.Bert Vermeulen
2013-12-18Don't install runtc.Arkadiusz Miśkiewicz
Don't install runtc. Not meant for generic usage. Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
2013-12-18runtc: Output binary as ASCII timestamp/class/hex bytes instead.Bert Vermeulen
This allows for verifying timestamps and classes as well.
2013-12-15runtc: Make sure to compile against this libraryBert Vermeulen
It might compile against a previously-installed one unless the linker finds it in the top directory first.
2013-12-13i2c: Add Python tests.Bert Vermeulen
2013-12-13pdtest/runtc: Add support for Python output types.Bert Vermeulen
2013-12-13Send SRD_OUTPUT_PYTHON to registered callbacks as well.Bert Vermeulen
There's really only one use case for this: the testing framework. This allows it to check what gets sent up the stack as well.
2013-12-13Prune dead code.Bert Vermeulen
2013-12-13i2c: Avoid obsolete method.Bert Vermeulen
2013-12-13No need to mess with method reference counts.Bert Vermeulen
2013-12-12i2c: Add binary tests.Bert Vermeulen
2013-12-12pdtest/runtc: Add support for binary output types.Bert Vermeulen
2013-12-12pdtest: Add -f option to automatically fix failing tests.Bert Vermeulen
2013-12-12runtc: Add support for binary output.Bert Vermeulen
2013-12-12Use new binary class definition format.Bert Vermeulen
2013-12-12Binary classes are now defined as (name, description).Bert Vermeulen
2013-12-11Easier access to sequences of strings, not just lists.Bert Vermeulen
2013-12-11runtc: Return errorcode according to testcase result.Bert Vermeulen
2013-12-11pdtest: Use -dd to turn on SR/SRD debugging.Bert Vermeulen
2013-12-11check: Make sure to test this set of decoders, not the installed ones.Bert Vermeulen
2013-12-11Load decoders from all search paths, not just the default.Bert Vermeulen
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.
2013-12-11Clear decoder list after unloading, not just at exit.Bert Vermeulen
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-12-10API clarification.Bert Vermeulen
2013-12-10Fix 'dist' make target.Bert Vermeulen
2013-12-09Avoid GError warning when unloading decoders.Bert Vermeulen
2013-12-09Support DESTDIR on install targets.Bert Vermeulen
Fixes bug 215.
2013-12-04parallel: start(): Drop obsoleted metadata parameter.Uwe Hermann
This fixes bug #202.
2013-12-03uart: Display non-ASCII characters properly.Uwe Hermann
We use the [XX] notation for non-printable characters, which is what various other logic analyzer software packages do too, e.g. the CWAV USBee Suite. This fixes bug #201.
2013-11-29Python 3.2 and portability fixes.Bert Vermeulen
2013-11-27Clean up autoconf leftover configuration.Bert Vermeulen
2013-11-27edid: Make sure to install the vendor list.Bert Vermeulen
2013-11-27Automate protocol decoder installation.Bert Vermeulen
This automatically figures out the files to install for each protocol decoder, without involving autotools. All python files (filenames ending in .py) are always installed. If a protocol decoder requires installation of a non-python file, a small file called 'config' can be created in that protocol decoder's directory, with the following content: # comments are ok extra-install vendorlist.txt commands.txt
2013-11-26Remove 64-probe limit.Bert Vermeulen
Fixes bug 120.
2013-11-19Add a missing #include.Uwe Hermann
This causes compiler errors in some setups otherwise, e.g.: CC libsigrokdecode_la-session.lo session.c: In function 'srd_session_metadata_set': session.c:195:46: error: expected ')' before 'PRIu64' srd_dbg("Setting session %d samplerate to %"PRIu64".", ^ session.c: In function 'srd_session_send': session.c:242:15: error: expected ')' before 'PRIu64' "number %" PRIu64 ", %" PRIu64 " bytes at 0x%p", ^
2013-11-18Turn off excessive loggingBert Vermeulen
2013-11-18Remove unreasonable testBert Vermeulen
2013-11-18Fix inverted condition on doc checkBert Vermeulen
2013-11-18Don't try to load an already-loaded moduleBert Vermeulen
Python silently uses the existing module anyway, but the library was counting it as an extra module. This was exposed by a test case in the test suite.
2013-11-18Don't decrease borrowed reference to probe definition dictBert Vermeulen
This fixes bug 177.
2013-11-18Fix inverted condition on decoder checkBert Vermeulen
2013-11-18Check library initialization before handling decodersBert Vermeulen
2013-11-18Clean up prototypesBert Vermeulen