From a6bce1b8b9f9e0274f8a879b0d76141de4a643ba Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Wed, 15 Jan 2025 21:00:20 +0100 Subject: [PATCH] Add debug output --- BSDmakefile | 2 +- CMakeLists.txt | 1 + GNUmakefile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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..ef8c33980 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) + set(CTEST_OUTPUT_ON_FAILURE 1) 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