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:26 +0000 (17:25 -0400)
commitedb2ec3ce7537cd8ec0269f1b30d71719f02d61b
treea3d76155393da0a3d0fe24b95f4ad53627b45ac0
parent4a7062f7481bb78e5a1eb6d21a4a6866954edc90
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.0249 seconds and 4 git commands to generate.