Skip to content

Commit

Permalink
Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 15, 2025
1 parent 36e64d2 commit 864f636
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BSDmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ BUILD_TOOLS?=OFF
# 1: ERROR
# 2: INFO + ERROR
# 3: DEBUG + INFO + ERROR
ZENOH_DEBUG?=0
ZENOH_DEBUG?=3

# zenoh-pico/ directory
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ if(UNIX OR MSVC)
configure_file(${PROJECT_SOURCE_DIR}/tests/routed.sh ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/routed.sh COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/tests/api.sh ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/api.sh COPYONLY)

list(APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure")
enable_testing()
# add_test(z_client_test bash ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/routed.sh z_client_test)
# add_test(z_api_alignment_test bash ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/api.sh z_api_alignment_test)
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ASAN?=OFF
# 1: ERROR
# 2: INFO + ERROR
# 3: DEBUG + INFO + ERROR
ZENOH_DEBUG?=0
ZENOH_DEBUG?=3

# Feature config toggle
# Accepted values: 0, 1
Expand Down
2 changes: 1 addition & 1 deletion tests/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for LOCATOR in $(echo "$LOCATORS" | xargs); do
sleep 5

echo "> Running $TESTBIN ..."
"$TESTBIN" "$LOCATOR"
"$TESTBIN" "$LOCATOR" 1>&2
RETCODE=$?

echo "> Stopping zenohd ..."
Expand Down

0 comments on commit 864f636

Please sign in to comment.