Commit 0422339a authored by Jelte Jansen's avatar Jelte Jansen

[master] set B10_FROM_BUILD in auth tests

So that the sqlite3_ds.so is found correctly
This has been acked on jabber, and is tentatively waiting full resolution in ticket #1895
parent 89071a21
...@@ -19,10 +19,11 @@ endif ...@@ -19,10 +19,11 @@ endif
CLEANFILES = *.gcno *.gcda CLEANFILES = *.gcno *.gcda
# Do not define global tests, use check-local so
# environment can be set (needed for dynamic loading)
TESTS = TESTS =
if HAVE_GTEST if HAVE_GTEST
TESTS += run_unittests
run_unittests_SOURCES = $(top_srcdir)/src/lib/dns/tests/unittest_util.h run_unittests_SOURCES = $(top_srcdir)/src/lib/dns/tests/unittest_util.h
run_unittests_SOURCES += $(top_srcdir)/src/lib/dns/tests/unittest_util.cc run_unittests_SOURCES += $(top_srcdir)/src/lib/dns/tests/unittest_util.cc
run_unittests_SOURCES += ../auth_srv.h ../auth_srv.cc run_unittests_SOURCES += ../auth_srv.h ../auth_srv.cc
...@@ -70,6 +71,8 @@ run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la ...@@ -70,6 +71,8 @@ run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la
run_unittests_LDADD += $(top_builddir)/src/lib/nsas/libnsas.la run_unittests_LDADD += $(top_builddir)/src/lib/nsas/libnsas.la
run_unittests_LDADD += $(top_builddir)/src/lib/util/unittests/libutil_unittests.la run_unittests_LDADD += $(top_builddir)/src/lib/util/unittests/libutil_unittests.la
run_unittests_LDADD += $(top_builddir)/src/lib/statistics/libstatistics.la run_unittests_LDADD += $(top_builddir)/src/lib/statistics/libstatistics.la
check-local:
B10_FROM_BUILD=${abs_top_builddir} ./run_unittests
endif endif
noinst_PROGRAMS = $(TESTS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment