diff --git a/BSDmakefile b/BSDmakefile index 790a7288e..01e98c597 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -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)))) diff --git a/CMakeLists.txt b/CMakeLists.txt index 889c49a2b..5a90bbcc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/GNUmakefile b/GNUmakefile index 95942d486..3db76209a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 diff --git a/tests/api.sh b/tests/api.sh index 01f37c499..aeb2f4b8e 100644 --- a/tests/api.sh +++ b/tests/api.sh @@ -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 ..."