]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: Fix missing gtest linkage, missing functions. 24921/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 4 Nov 2018 15:31:40 +0000 (16:31 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 6 Nov 2018 11:33:28 +0000 (12:33 +0100)
commit1d6e9ecc77893642f101cca555671c7656bd5dc8
treec59f75ebfc96f9b8a1d65f47e3dab6ded81d63f1
parent88f3d1c3e692002fb1fd5de46e359c4ac613b9ff
cmake: Fix missing gtest linkage, missing functions.

During linking the error is:
```
/usr/bin/ld.lld: error: undefined symbol: testing::Message::Message()
>>> referenced by test_compression.cc:78 (/home/jenkins/workspace/ceph-luminous/src/test/compressor/test_compression.cc:78)
>>>               CMakeFiles/unittest_compression.dir/test_compression.cc.o:(CompressorTest_small_round_trip_Test::TestBody())

/usr/bin/ld.lld: error: undefined symbol: testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)
```
This can probably be fixed by backporting
    https://github.com/ceph/ceph/pull/23628
and friendsr. But that needs a lot of fixing.

So instead of backporting, is this PR a lot easier

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/compressor/CMakeLists.txt