diff --git a/tests/31plugin.tests b/tests/31plugin.tests index 4f17e1339..a457e622e 100644 --- a/tests/31plugin.tests +++ b/tests/31plugin.tests @@ -27,6 +27,8 @@ return: 0 END TEST "C plugin test, nested" plugin_examplepluginc_nested <wordlist_get ("config.path", &path)) + printf ("config path is: %s\n", path); + if (config->wordlist_get ("plugin.path", &path)) + printf ("plugin path is: %s\n", path); + + LUMIERA_INTERFACE_CLOSE (config); + german->hello (); english->hello (); english->goodbye ("World!"); german->goodbye ("Welt!"); - LUMIERA_INTERFACE_CLOSE (german); LUMIERA_INTERFACE_CLOSE (english); } diff --git a/tests/lumiera/test-interfaces.c b/tests/lumiera/test-interfaces.c index e2dcafae2..ee42bb9ec 100644 --- a/tests/lumiera/test-interfaces.c +++ b/tests/lumiera/test-interfaces.c @@ -23,6 +23,7 @@ #include "lumiera/interfaceregistry.h" #include "lumiera/interfacedescriptor.h" #include "lumiera/config.h" +#include "lumiera/config_interface.h" #include "tests/test.h" #include "tests/lumiera/hello_interface.h" @@ -524,6 +525,7 @@ TEST ("plugin_examplepluginc_nested") lumiera_config_init ("./"); lumiera_interfaceregistry_init (); lumiera_plugin_discover (lumiera_plugin_load, lumiera_plugin_register); + lumiera_config_interface_init (); LUMIERA_INTERFACE_HANDLE(lumieraorg_testtest, 0) test = LUMIERA_INTERFACE_OPEN (lumieraorg_testtest, 0, 0, lumieraorg_test_both); @@ -532,6 +534,7 @@ TEST ("plugin_examplepluginc_nested") LUMIERA_INTERFACE_CLOSE (test); + lumiera_config_interface_destroy (); lumiera_interfaceregistry_destroy (); lumiera_config_destroy (); }