pludind: fixes plugins not found error in tests
authorImran Zaman <imran.zaman@linux.intel.com>
Mon, 13 May 2013 11:49:07 +0000 (14:49 +0300)
committerImran Zaman <imran.zaman@linux.intel.com>
Wed, 15 May 2013 12:29:06 +0000 (15:29 +0300)
test/common/Makefile.am
test/plugins/Makefile.am

index 834a9c8..4bd3c86 100644 (file)
@@ -1,5 +1,5 @@
 TESTS = commontest
-TESTS_ENVIRONMENT=
+TESTS_ENVIRONMENT= SSO_PLUGINS_DIR=$(top_builddir)/src/plugins/.libs
 VALGRIND_TESTS_DISABLE=
 
 check_PROGRAMS = commontest
index 5b38751..29e60cc 100644 (file)
@@ -1,5 +1,9 @@
 TESTS = digestplugintest passwordplugintest pluginproxytest pluginremotetest
-TESTS_ENVIRONMENT= SSO_PLUGINS_DIR=$(top_builddir)/src/plugins/.libs
+
+TESTS_ENVIRONMENT= SSO_PLUGINS_DIR=$(top_builddir)/src/plugins/.libs \
+SSO_BIN_DIR=$(top_builddir)/src/daemon/plugins/plugind/.libs \
+LD_LIBRARY_PATH=$(top_builddir)/src/daemon/plugins/plugind/.libs
+
 VALGRIND_TESTS_DISABLE =
     
 check_PROGRAMS = digestplugintest passwordplugintest pluginproxytest pluginremotetest