From ec8b9004aa88d5f4164ceca7bee35d2888411c69 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 20 Apr 2026 10:11:51 +0200 Subject: [PATCH] fix test for min clk for xilinx ctb --- .../tests/Caller/test-Caller-chiptestboard.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp index 0f100b83c..6975fbfa2 100644 --- a/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp +++ b/slsDetectorSoftware/tests/Caller/test-Caller-chiptestboard.cpp @@ -745,13 +745,13 @@ TEST_CASE("adcclk", "[.detectorintegration]") { } { std::ostringstream oss; - caller.call("adcclk", {"5.75", "MHz"}, -1, PUT, oss); - REQUIRE(oss.str() == "adcclk 5.75MHz\n"); + caller.call("adcclk", {"15.75", "MHz"}, -1, PUT, oss); + REQUIRE(oss.str() == "adcclk 15.75MHz\n"); } { std::ostringstream oss; caller.call("adcclk", {}, -1, GET, oss); - REQUIRE(oss.str() == "adcclk 5.75MHz\n"); + REQUIRE(oss.str() == "adcclk 15.75MHz\n"); } for (int i = 0; i != det.size(); ++i) { det.setADCClock(prev_val[i], {i}); @@ -813,13 +813,13 @@ TEST_CASE("runclk", "[.detectorintegration]") { } { std::ostringstream oss; - caller.call("runclk", {"5.75", "MHz"}, -1, PUT, oss); - REQUIRE(oss.str() == "runclk 5.75MHz\n"); + caller.call("runclk", {"15.75", "MHz"}, -1, PUT, oss); + REQUIRE(oss.str() == "runclk 15.75MHz\n"); } { std::ostringstream oss; caller.call("runclk", {}, -1, GET, oss); - REQUIRE(oss.str() == "runclk 5.75MHz\n"); + REQUIRE(oss.str() == "runclk 15.75MHz\n"); } for (int i = 0; i != det.size(); ++i) { det.setRUNClock(prev_val[i], {i}); @@ -1152,13 +1152,13 @@ TEST_CASE("dbitclk", "[.detectorintegration]") { } { std::ostringstream oss; - caller.call("dbitclk", {"5.75", "MHz"}, -1, PUT, oss); - REQUIRE(oss.str() == "dbitclk 5.75MHz\n"); + caller.call("dbitclk", {"15.75", "MHz"}, -1, PUT, oss); + REQUIRE(oss.str() == "dbitclk 15.75MHz\n"); } { std::ostringstream oss; caller.call("dbitclk", {}, -1, GET, oss); - REQUIRE(oss.str() == "dbitclk 5.75MHz\n"); + REQUIRE(oss.str() == "dbitclk 15.75MHz\n"); } for (int i = 0; i != det.size(); ++i) { det.setDBITClock(prev_val[i], {i});