From aa0fa313832fa3860be5909f7e34a9289c7b4a90 Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 1 Dec 2025 14:57:20 +0100 Subject: [PATCH] added logg level variable to cmake --- CMakeLists.txt | 2 +- slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 194a2abad..52c0fb71e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ include(FetchContent) option(SLS_FETCH_ZMQ_FROM_GITHUB "Fetch zmq from github" OFF) option(SLS_FETCH_PYBIND11_FROM_GITHUB "Fetch pybind11 from github" OFF) - +set(LOG_MAX_REPORTING_LEVEL "set logging level" sls::logINFO) # Allow FetchContent_Populate to be called with a single argument # otherwise deprecated warning is issued diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp index 2bc827476..f25a11b25 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp @@ -1058,7 +1058,6 @@ TEST_CASE("v_abcd", "[.cmdcall]") { for (int i = 0; i != det.size(); ++i) { det.setPower(indices[i], prev_val[i], {i}); } - } else { REQUIRE_THROWS(caller.call(cmds[i], {}, -1, GET)); }