test_plugin: use env. var. instead of global symbol because G_MODULE_BIND_LOCAL
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Jul 2017 21:13:14 +0000 (17:13 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Jul 2017 21:25:16 +0000 (17:25 -0400)
commitdf5b5d012b03816543787074651198426cc9d795
treecba9a014f9d2df98a30625b1a60d9fb5b65a76b7
parent8a6001c59f09399d86b4723753a24aaf30ccbd46
test_plugin: use env. var. instead of global symbol because G_MODULE_BIND_LOCAL

Share data between test plugins and the plugin test with environment
variables instead of using global symbols because shared objects are
opened with G_MODULE_BIND_LOCAL now.

Also add BT_PLUGIN_MODULE() to test plugins so that their special
sections exist and contain entries.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test-plugin-plugins/minimal.c
tests/lib/test-plugin-plugins/sfs.c
tests/lib/test_plugin.c
This page took 0.025282 seconds and 4 git commands to generate.