]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
FreeBSD/src/test/Makefile.am: fix lexecinfo and exclude tests
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 24 Mar 2016 12:26:20 +0000 (13:26 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 10 May 2016 21:41:17 +0000 (23:41 +0200)
 - execinfo is required to backtrace()
 - execlude tests that depended on using nosetests.
nosetests is not working for these tests atm.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/Makefile.am

index 536edbf012619bd2c4ed97b78df4e1f02272d1ff..fb30394db3955294960bbfc59111afed87b868b5 100644 (file)
@@ -143,6 +143,11 @@ UNITTEST_LDADD += \
        -lsocket -lnsl
 endif
 
+if FREEBSD
+UNITTEST_LDADD += \
+      -lexecinfo
+endif
+
 unittest_addrs_SOURCES = test/test_addrs.cc
 unittest_addrs_CXXFLAGS = $(UNITTEST_CXXFLAGS)
 unittest_addrs_LDADD = $(UNITTEST_LDADD) $(CEPH_GLOBAL)
@@ -447,8 +452,14 @@ unittest_async_compressor_CXXFLAGS = $(UNITTEST_CXXFLAGS)
 unittest_async_compressor_LDADD = $(UNITTEST_LDADD) $(CEPH_GLOBAL) $(LIBCOMPRESSOR) $(LIBCOMMON)
 check_PROGRAMS += unittest_async_compressor
 
+if LINUX
+#
+# XXX FREEBSD
+# These tests use nosetests and getting that to work thusfar has not worked
+#
 check_SCRIPTS += test/pybind/test_ceph_argparse.py
 check_SCRIPTS += test/pybind/test_ceph_daemon.py
+endif
 
 ceph_test_objectcacher_stress_SOURCES = \
        test/osdc/object_cacher_stress.cc \