mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
test: only build some tests on linux
These tests have portability problems that have yet to be solved on non-Linux systems. Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
a48d038689
commit
9a7a33ecab
@ -652,10 +652,12 @@ ceph_test_librbd_LDADD = $(LIBRBD) $(LIBRADOS) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
|
||||
ceph_test_librbd_CXXFLAGS = $(UNITTEST_CXXFLAGS)
|
||||
bin_DEBUGPROGRAMS += ceph_test_librbd
|
||||
|
||||
if LINUX
|
||||
ceph_test_librbd_fsx_SOURCES = test/librbd/fsx.c
|
||||
ceph_test_librbd_fsx_LDADD = $(LIBRBD) $(LIBRADOS) -lm
|
||||
ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format
|
||||
bin_DEBUGPROGRAMS += ceph_test_librbd_fsx
|
||||
endif
|
||||
|
||||
ceph_test_cls_rbd_SOURCES = \
|
||||
test/cls_rbd/test_cls_rbd.cc \
|
||||
@ -824,10 +826,12 @@ ceph_test_libcephfs_LDADD = $(LIBCEPHFS) $(UNITTEST_LDADD)
|
||||
ceph_test_libcephfs_CXXFLAGS = $(UNITTEST_CXXFLAGS)
|
||||
bin_DEBUGPROGRAMS += ceph_test_libcephfs
|
||||
|
||||
if LINUX
|
||||
ceph_test_filestore_SOURCES = test/filestore/store_test.cc
|
||||
ceph_test_filestore_LDADD = $(LIBOS) $(UNITTEST_LDADD) $(CEPH_GLOBAL)
|
||||
ceph_test_filestore_CXXFLAGS = $(UNITTEST_CXXFLAGS)
|
||||
bin_DEBUGPROGRAMS += ceph_test_filestore
|
||||
endif
|
||||
|
||||
ceph_test_filestore_workloadgen_SOURCES = \
|
||||
test/filestore/workload_generator.cc \
|
||||
|
Loading…
Reference in New Issue
Block a user