From 790d25e1eed9f2bfb903ce40222a18846c495320 Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Wed, 17 Apr 2024 09:04:59 +0000 Subject: [PATCH] fix(userspace/libsinsp): solve link issues in libsinsp tests Signed-off-by: Jason Dellaluce --- userspace/libsinsp/test/filterchecks/mock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/userspace/libsinsp/test/filterchecks/mock.cpp b/userspace/libsinsp/test/filterchecks/mock.cpp index cf05a0e168..c9137b508c 100644 --- a/userspace/libsinsp/test/filterchecks/mock.cpp +++ b/userspace/libsinsp/test/filterchecks/mock.cpp @@ -360,6 +360,7 @@ TEST(mock_filtercheck_compare, rhs_filter_EPF_NO_RHS_flag) } } +#if !defined(_WIN32) && !defined(__EMSCRIPTEN__) && !defined(__APPLE__) TEST_F(sinsp_with_test_input, check_some_fd_fields) { add_default_init_thread(); @@ -422,6 +423,7 @@ TEST_F(sinsp_with_test_input, check_some_fd_fields) ASSERT_ANY_THROW(chk->add_filter_value(create_filtercheck_from_field(&m_inspector, "fd.types"))); } } +#endif // !defined(_WIN32) && !defined(__EMSCRIPTEN__) && !defined(__APPLE__) ///////////////////// // TRANSFORMERS