Skip to content

Commit

Permalink
Refs #16371: DDSSQLFilterValueTests.test_filtered_value does not exis…
Browse files Browse the repository at this point in the history
…t unless GTEST_INDIVIDUAL CMake option is used

Signed-off-by: jparisu <javierparis@eprosima.com>
  • Loading branch information
jparisu committed Jan 9, 2023
1 parent e4c5354 commit 6b22eee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/unittest/dds/topic/DDSSQLFilter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ target_link_libraries(DDSSQLFilterTests fastcdr foonathan_memory
add_gtest(DDSSQLFilterTests SOURCES ${DDSSQLFILTERTEST_SOURCES})

# Tests with specific timeout
set_tests_properties("DDSSQLFilterValueTests.test_filtered_value" PROPERTIES TIMEOUT 500)
if (GTEST_INDIVIDUAL)
# This test does not exist unless it is compiled with GTEST_INDIVIDUAL
set_tests_properties("DDSSQLFilterValueTests.test_filtered_value" PROPERTIES TIMEOUT 500)
endif ()

if(ANDROID)
set_property(TARGET DDSSQLFilterTests PROPERTY CROSSCOMPILING_EMULATOR "adb;shell;cd;${CMAKE_CURRENT_BINARY_DIR};&&")
Expand Down

0 comments on commit 6b22eee

Please sign in to comment.