From 094da537ee76673934891d7848819065d5937585 Mon Sep 17 00:00:00 2001 From: Damian Kalinowski Date: Fri, 20 Dec 2024 11:16:13 +0100 Subject: [PATCH] fix rtinfo --- src/modelinstance.cpp | 2 +- src/test/embeddingsnode_test.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/modelinstance.cpp b/src/modelinstance.cpp index 7497be90bd..4b8782dce1 100644 --- a/src/modelinstance.cpp +++ b/src/modelinstance.cpp @@ -83,7 +83,7 @@ enum : unsigned int { } // namespace namespace ov { -struct Meta; // pure fwd declaration in getRTInfo +class Meta; // pure fwd declaration in getRTInfo } namespace ovms { diff --git a/src/test/embeddingsnode_test.cpp b/src/test/embeddingsnode_test.cpp index eec506c4b4..99ddc4f5f5 100644 --- a/src/test/embeddingsnode_test.cpp +++ b/src/test/embeddingsnode_test.cpp @@ -299,6 +299,9 @@ class EmbeddingsExtensionTest : public ::testing::Test { ovms::HttpResponseComponents responseComponents; static void SetUpTestSuite() { +#ifdef _WIN32 + GTEST_SKIP() << "Skipping test because we have no custom extension built for Windows"; +#endif std::string port = "9173"; ovms::Server& server = ovms::Server::instance(); std::string configPath = getGenericFullPathForSrcTest("/ovms/src/test/embeddings/config_embeddings.json"); @@ -324,6 +327,9 @@ class EmbeddingsExtensionTest : public ::testing::Test { } void SetUp() { +#ifdef _WIN32 + GTEST_SKIP() << "Skipping test because we have no custom extension built for Windows"; +#endif writer = std::make_shared(); ovms::Server& server = ovms::Server::instance(); handler = std::make_unique(server, 5); @@ -331,6 +337,9 @@ class EmbeddingsExtensionTest : public ::testing::Test { } static void TearDownTestSuite() { +#ifdef _WIN32 + GTEST_SKIP() << "Skipping test because we have no custom extension built for Windows"; +#endif ovms::Server& server = ovms::Server::instance(); server.setShutdownRequest(1); t->join(); @@ -338,6 +347,9 @@ class EmbeddingsExtensionTest : public ::testing::Test { } void TearDown() { +#ifdef _WIN32 + GTEST_SKIP() << "Skipping test because we have no custom extension built for Windows"; +#endif handler.reset(); } };