fix test
Some checks failed
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Failing after 11s
Bigfoot / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: OFF) (push) Failing after 9m41s
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Failing after 14m43s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: OFF) (push) Failing after 13m1s
Bigfoot / Build & Test Release with ./ConanProfiles/clangd (Unity Build: ON) (push) Failing after 7m36s
Bigfoot / Build & Test Release with ./ConanProfiles/clangd (Unity Build: OFF) (push) Failing after 7m47s
Bigfoot / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Failing after 7m52s
Bigfoot / Build & Test Release with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Failing after 7m55s
Bigfoot / Clang Format Checks (push) Failing after 11s
Bigfoot / Build & Test Debug with ./ConanProfiles/clangd (Unity Build: ON) (push) Failing after 7m49s
Bigfoot / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Failing after 5m2s
Bigfoot / Build & Test Debug with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Failing after 4m52s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Failing after 19m27s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Failing after 17m26s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clangd (Unity Build: ON) (push) Failing after 12m45s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Failing after 10m31s
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Failing after 11m10s
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Failing after 11m18s
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Failing after 11m23s

This commit is contained in:
2026-04-11 20:30:01 +02:00
parent e8655042db
commit d97e342284

View File

@@ -251,25 +251,22 @@ TEST_F(BigFileFixture, Lol)
"SELECT h.* FROM AssetHeader h JOIN AssetDependency d ON h.UUID = d.DependsOnUUID WHERE d.AssetUUID = ?"};
getDependency.Bind(1, static_cast<std::span<const std::byte, UUID::UUID_BYTE_SIZE>>(uuid));
{
[[maybe_unused]]
const bool get = getDependency.Step();
ankerl::unordered_dense::segmented_set<UUID> dependencies;
auto test = static_cast<eastl::span<const std::byte>>(getDependency.Get(0));
[[maybe_unused]]
const bool get = getDependency.Step();
UUID dependency {std::span<const std::byte, UUID::UUID_BYTE_SIZE> {test.begin(), test.end()}};
EXPECT_EQ(dependency, uuid3);
}
auto test = static_cast<eastl::span<const std::byte>>(getDependency.Get(0));
dependencies.insert(UUID {std::span<const std::byte, UUID::UUID_BYTE_SIZE> {test.begin(), test.end()}});
{
[[maybe_unused]]
const bool get = getDependency.Step();
[[maybe_unused]]
const bool get2 = getDependency.Step();
auto test = static_cast<eastl::span<const std::byte>>(getDependency.Get(0));
auto test2 = static_cast<eastl::span<const std::byte>>(getDependency.Get(0));
dependencies.insert(UUID {std::span<const std::byte, UUID::UUID_BYTE_SIZE> {test2.begin(), test2.end()}});
UUID dependency {std::span<const std::byte, UUID::UUID_BYTE_SIZE> {test.begin(), test.end()}};
EXPECT_EQ(dependency, uuid2);
}
EXPECT_TRUE(dependencies.find(uuid3) != dependencies.end());
EXPECT_TRUE(dependencies.find(uuid2) != dependencies.end());
}
{