Parcourir la source

[master] disabled factory_unittest if we use static link. this should solve
buildbot failure:
http://git.bind10.isc.org/~tester/builder/BIND10/20111005214500-MacOSX10.6-x86_64-Clang-Static/logs/unittests.out
okayed on jabber.

JINMEI Tatuya il y a 13 ans
Parent
commit
85071d50cf
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/lib/datasrc/tests/Makefile.am

+ 6 - 0
src/lib/datasrc/tests/Makefile.am

@@ -35,7 +35,13 @@ run_unittests_SOURCES += logger_unittest.cc
 run_unittests_SOURCES += database_unittest.cc
 run_unittests_SOURCES += client_unittest.cc
 run_unittests_SOURCES += sqlite3_accessor_unittest.cc
+if !USE_STATIC_LINK
+# This test uses dynamically loadable module.  It will cause various
+# troubles with static link such as "missing" symbols in the static object
+# for the module.  As a workaround we disable this particualr test
+# in this case.
 run_unittests_SOURCES += factory_unittest.cc
+endif
 # for the dlopened types we have tests for, we also need to include the
 # sources
 run_unittests_SOURCES += $(top_srcdir)/src/lib/datasrc/sqlite3_accessor.cc