From 071b142b1083f65d3185a438138b661af937b27f Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 4 Aug 2025 14:11:51 +0200 Subject: [PATCH] fixed ctb dbit clock changing period in tests as it was setting run clock instead --- .../tests/Caller/test-Caller-chiptestboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp index fe30c9d2d..66ae42c1c 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp @@ -1000,7 +1000,7 @@ TEST_CASE("dbitclk", "[.cmdcall]") { auto det_type = det.getDetectorType().squash(); if (det_type == defs::CHIPTESTBOARD) { - auto prev_val = det.getRUNClock(); + auto prev_val = det.getDBITClock(); { std::ostringstream oss; caller.call("dbitclk", {"20"}, -1, PUT, oss); @@ -1017,7 +1017,7 @@ TEST_CASE("dbitclk", "[.cmdcall]") { REQUIRE(oss.str() == "dbitclk 10\n"); } for (int i = 0; i != det.size(); ++i) { - det.setRUNClock(prev_val[i], {i}); + det.setDBITClock(prev_val[i], {i}); } } else { // clock index might work