]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/crimson/seastore: add missing crimson::gtest to link libraries 68217/head
authorKefu Chai <k.chai@proxmox.com>
Sun, 5 Apr 2026 22:52:45 +0000 (06:52 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 5 Apr 2026 22:57:14 +0000 (06:57 +0800)
commitb6300769d74cf2aec95c5dc8c3ed848ab99a3f4a
treeccf1cc9ca5756122435f8aa11d7ae939505add87
parent109438c10552b5e23ee8242dc222224c3b87338a
test/crimson/seastore: add missing crimson::gtest to link libraries

unittest-transaction-manager, unittest-omap-manager,
unittest-btree-lba-manager, and unittest-seastore all include
gtest_seastar.cc but were not explicitly linking against crimson::gtest.
This worked previously because gtest symbols were pulled in transitively,
but with gcc-toolset-13 and LTO the transitive dependency is no longer
satisfied, producing undefined reference errors for testing::Message,
testing::Test, testing::AssertionSuccess, etc.

Fix by linking these tests against crimson::gtest

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/test/crimson/seastore/CMakeLists.txt