From 038f1279466c25dfa41c64e2149620d80d5cd4d6 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Tue, 4 Nov 2008 08:07:48 +0100 Subject: [PATCH] testsuite updates * Makefile.am removed -lm, added $(LUMIERA_PLUGIN_LIBS) * simple test for the plugin loader * remove the old 20plugin.tests, new 31plugin.tests --- tests/20plugin.tests | 24 ------------- tests/31plugin.tests | 29 ++++++++++++++++ tests/Makefile.am | 18 +++++----- tests/backend/test-interfaces.c | 61 +++++++++++++++++++++++++++++++-- 4 files changed, 97 insertions(+), 35 deletions(-) delete mode 100644 tests/20plugin.tests create mode 100644 tests/31plugin.tests diff --git a/tests/20plugin.tests b/tests/20plugin.tests deleted file mode 100644 index d1d9fba2f..000000000 --- a/tests/20plugin.tests +++ /dev/null @@ -1,24 +0,0 @@ -TESTING "test plugin example code" ./test-plugin - -PLANNED "C plugin example" C <hello (); + german->goodbye ("Welt!"); + + english->hello (); + english->goodbye ("World!"); + + LUMIERA_INTERFACE_CLOSE (german); + LUMIERA_INTERFACE_CLOSE (english); + + lumiera_interfaceregistry_destroy (); + lumiera_config_destroy (); } TESTS_END