libsigrok/tests
Uwe Hermann 032da34b78 sr_driver_list() now takes a context pointer.
This requires sr_hw_cleanup_all() and sanity_check_all_drivers()
to also take a context.

The (runtime) generation of the driver list now happens in sr_init()
and sr_driver_list() always returns that pre-generated list. This fixes
a segfault when (correctly) invoking multiple sr_init() and sr_exit()
calls with different contexts (caught by the unit tests).

This fixes bug #565.
2015-04-07 02:09:56 +02:00
..
core.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
device.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
driver_all.c sr_driver_list() now takes a context pointer. 2015-04-07 02:09:56 +02:00
input_all.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
input_binary.c unit tests: Update for sr_session_new() API change. 2015-03-26 23:49:35 +01:00
lib.c sr_driver_list() now takes a context pointer. 2015-04-07 02:09:56 +02:00
lib.h transform: Add a few basic unit tests. 2015-02-11 15:24:38 +01:00
main.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
output_all.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
session.c unit tests: Update for sr_session_new() API change. 2015-03-26 23:49:35 +01:00
strutil.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
transform_all.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
trigger.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00
version.c unit tests: Drop unneeded check_ filename prefix. 2015-02-17 15:24:28 +01:00