Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[gguf] fix test parser u8 path handling (#39824)

Mikołaj Roszczyk0c51a97339b7
diff --git a/src/frontends/gguf/tests/test_parser.cpp b/src/frontends/gguf/tests/test_parser.cpp
index 839c106828d..43dc5e3b695 100644
--- a/src/frontends/gguf/tests/test_parser.cpp
+++ b/src/frontends/gguf/tests/test_parser.cpp
@@ -728,7 +728,8 @@ TEST_F(GGUFShards, FrontendConvertsTheSameConstantsFromSingleFileAndShardInputs)
const auto comparison = comparator.compare(model, reference);
EXPECT_TRUE(comparison.valid) << comparison.message;
}
- const auto unicode_prefix = ov::util::make_path(m_base + u8"_模型_żółć");
+ auto unicode_prefix = ov::util::make_path(m_base);
+ unicode_prefix += ov::util::make_path(u8"_模型_żółć");
const auto unicode_first =
std::filesystem::path(unicode_prefix.native() + std::filesystem::path("-00001-of-00002.gguf").native());
const auto unicode_second =