Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
---
tests/Makefile.am | 1 +
tests/check_plugin.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b269d88..98fa6cf 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -41,6 +41,7 @@ check_hash_LDADD = $(top_builddir)/lib/libqbhash.la @CHECK_LIBS@
check_plugin_SOURCES = check_plugin.c
check_plugin_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include
check_plugin_LDADD = $(top_builddir)/lib/libqbplugin.a @CHECK_LIBS@
+check_plugin_LDFLAGS = $(OS_DYFLAGS)
noinst_libdir = $(shell pwd)/$(top_builddir)/tests
diff --git a/tests/check_plugin.c b/tests/check_plugin.c
index 327adc9..af83c36 100644
--- a/tests/check_plugin.c
+++ b/tests/check_plugin.c
@@ -130,7 +130,7 @@ START_TEST (test_plugin)
}
END_TEST
-static Suite *hash_suite (void)
+static Suite *plugin_suite (void)
{
TCase *tc_plugin;
Suite *s = suite_create ("plugin");
@@ -145,7 +145,7 @@ int main (void)
{
int number_failed;
- Suite *s = hash_suite ();
+ Suite *s = plugin_suite ();
SRunner *sr = srunner_create (s);
srunner_run_all (sr, CK_NORMAL);
number_failed = srunner_ntests_failed (sr);
--
1.6.6.1
Show replies by date