Skip to content

Commit 7ed7b23

Browse files
committed
MINGW - Skip loguruthreadnames internal test because it always fails.
1 parent c9b47e5 commit 7ed7b23

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

testing/CMakeLists.txt

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,21 @@ add_executable(lsl_test_exported
5858
target_link_libraries(lsl_test_exported PRIVATE lsl common catch_main)
5959

6060

61-
add_executable(lsl_test_internal
62-
int/inireader.cpp
63-
int/loguruthreadnames.cpp
64-
int/network.cpp
65-
int/stringfuncs.cpp
66-
int/streaminfo.cpp
67-
int/samples.cpp
68-
int/postproc.cpp
69-
int/serialization_v100.cpp
70-
int/tcpserver.cpp
61+
set(LSL_TEST_INTERNAL_SRCS
62+
int/inireader.cpp
63+
int/network.cpp
64+
int/stringfuncs.cpp
65+
int/streaminfo.cpp
66+
int/samples.cpp
67+
int/postproc.cpp
68+
int/serialization_v100.cpp
69+
int/tcpserver.cpp
7170
)
71+
if(NOT MINGW)
72+
LIST(APPEND LSL_INTERNAL_SRCS int/loguruthreadnames.cpp)
73+
endif()
74+
message(STATUS ${LSL_TEST_INTERNAL_SRCS})
75+
add_executable(lsl_test_internal ${LSL_TEST_INTERNAL_SRCS})
7276
target_link_libraries(lsl_test_internal PRIVATE lslobj lslboost common catch_main)
7377

7478

0 commit comments

Comments
 (0)