]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: disable unittest_blkdev on OSX
authorYan, Zheng <zyan@redhat.com>
Thu, 30 Jul 2015 08:01:46 +0000 (16:01 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 31 Aug 2015 08:00:26 +0000 (16:00 +0800)
the test uses sysfs, which does not exist on OSX

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/test/Makefile.am

index 32e10851717c9e850ee32846dca94c670c40ab78..9d647624995cef05e4aa5e0bf2ba34089fda7059 100644 (file)
@@ -152,7 +152,9 @@ check_TESTPROGRAMS += unittest_addrs
 unittest_blkdev_SOURCES = test/common/test_blkdev.cc
 unittest_blkdev_CXXFLAGS = $(UNITTEST_CXXFLAGS)
 unittest_blkdev_LDADD = $(UNITTEST_LDADD) $(CEPH_GLOBAL)
+if LINUX
 check_TESTPROGRAMS += unittest_blkdev
+endif
 
 unittest_bloom_filter_SOURCES = test/common/test_bloom_filter.cc
 unittest_bloom_filter_CXXFLAGS = $(UNITTEST_CXXFLAGS)