Skip to content

Commit

Permalink
fix condition to not skip FastRTPS to FastRTPS pub/sub tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
  • Loading branch information
dirk-thomas committed Jul 25, 2019
1 parent 03dc9d5 commit 3f4c76c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test_communication/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ if(BUILD_TESTING)
if(rmw_implementation2 MATCHES "(.*)fastrtps(.*)")
set(rmw_implementation2_is_fastrtps TRUE)
endif()
if(WIN32 AND (rmw_implementation1_is_fastrtps OR rmw_implementation2_is_fastrtps))
if(
WIN32 AND
(rmw_implementation1_is_fastrtps OR rmw_implementation2_is_fastrtps) AND
NOT rmw_implementation1_is_fastrtps EQUAL rmw_implementation2_is_fastrtps
)
set(SKIP_TEST "SKIP_TEST")
endif()

Expand Down

0 comments on commit 3f4c76c

Please sign in to comment.