]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix for unittest_async_compressor 8820/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 29 Apr 2016 17:34:59 +0000 (13:34 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 29 Apr 2016 17:42:12 +0000 (13:42 -0400)
commit3d1801ebbbc207fc5af22efa64925b376a227d9c
tree4cba0066e3a5c384f64d0e2fd51543a99a025ee9
parent089e87fbe173077863ce31bf2872590d1aa034e5
cmake: fix for unittest_async_compressor

this test wasn't creating the lib/compressor subdirectory, so it
depended on test_compressor_plugin_zlib or test_compressor_plugin_snappy
being run first

added the same dirty hack to copy libceph_snappy.so into lib/compressor,
and added a dependency on ceph_snappy to make sure it's built

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/common/CMakeLists.txt
src/test/common/test_async_compressor.cc