test/cos: not run cos test on windows

This commit is contained in:
Minglei Jin 2024-12-24 12:40:11 +08:00
parent 0885ab73dc
commit aff95d5439
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,8 @@ add_test(
COMMAND cosCpTest COMMAND cosCpTest
) )
if(TD_LINUX)
# cosTest.cpp # cosTest.cpp
add_executable(cosTest "") add_executable(cosTest "")
target_sources( target_sources(
@ -76,6 +78,8 @@ add_test(
COMMAND cosTest COMMAND cosTest
) )
endif()
if (${TD_LINUX}) if (${TD_LINUX})
# tmsg test # tmsg test
add_executable(tmsgTest "") add_executable(tmsgTest "")