Skip to content

Commit

Permalink
TMP: test stdout compose
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL committed Oct 30, 2024
1 parent 166bb8e commit 57b83a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/examples/hello_world.compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,22 @@ services:
- @PROJECT_BINARY_DIR@:@PROJECT_BINARY_DIR@
- @fastcdr_INSTALL_DIR@/bin:@fastcdr_INSTALL_DIR@/bin
- @CMAKE_INSTALL_PREFIX@/bin:@CMAKE_INSTALL_PREFIX@/bin
@TINYXML2_LIB_DIR_COMPOSE_VOLUME@
environment:
PATH: C:/Program Files/OpenSSL-Win64;@CMAKE_INSTALL_PREFIX@/bin;@fastcdr_INSTALL_DIR@/bin;C:/Windows/System32;C:/Windows/System32/downlevel;
EXAMPLE_DIR: @PROJECT_BINARY_DIR@/examples/cpp/hello_world/RelWithDebInfo
FASTDDS_DEFAULT_PROFILES_FILE: @PROJECT_BINARY_DIR@/examples/cpp/hello_world/hello_world_profile.xml
command: @SHELL_EXECUTABLE@ -c "& $$Env:EXAMPLE_DIR/hello_world@FILE_EXTENSION@ subscriber --waitset --samples 30"
command: @SHELL_EXECUTABLE@ -c "& ls;echo "Testing STDOUT";"

subscriber-publisher:
image: @DOCKER_IMAGE_NAME@
volumes:
- @PROJECT_BINARY_DIR@:@PROJECT_BINARY_DIR@
- @fastcdr_INSTALL_DIR@/bin:@fastcdr_INSTALL_DIR@/bin
- @CMAKE_INSTALL_PREFIX@/bin:@CMAKE_INSTALL_PREFIX@/bin
@TINYXML2_LIB_DIR_COMPOSE_VOLUME@
environment:
PATH: C:/Program Files/OpenSSL-Win64;@CMAKE_INSTALL_PREFIX@/bin;@fastcdr_INSTALL_DIR@/bin;C:/Windows/System32;C:/Windows/System32/downlevel;
EXAMPLE_DIR: @PROJECT_BINARY_DIR@/examples/cpp/hello_world/RelWithDebInfo
FASTDDS_DEFAULT_PROFILES_FILE: @PROJECT_BINARY_DIR@/examples/cpp/hello_world/hello_world_profile.xml
command: @SHELL_EXECUTABLE@ -c "& $$Env:EXAMPLE_DIR/hello_world@FILE_EXTENSION@ publisher --samples 30 &" "& $$Env:EXAMPLE_DIR/hello_world@FILE_EXTENSION@ subscriber --samples 30; Receive-Job 1 -Wait"
command: @SHELL_EXECUTABLE@ -c "& ls;echo "Testing STDOUT";"
depends_on:
- waitset-subscriber

0 comments on commit 57b83a2

Please sign in to comment.