mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-07 17:48:41 +01:00
xilinx tsamples test fixed for a value that a receiver can stomach for memory allocation (#1374)
This commit is contained in:
@@ -934,8 +934,8 @@ TEST_CASE("tsamples", "[.cmdcall]") {
|
|||||||
}
|
}
|
||||||
if (det_type == defs::XILINX_CHIPTESTBOARD) {
|
if (det_type == defs::XILINX_CHIPTESTBOARD) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
caller.call("tsamples", {"2147483647"}, -1, PUT, oss);
|
caller.call("tsamples", {"10000"}, -1, PUT, oss);
|
||||||
REQUIRE(oss.str() == "tsamples 2147483647\n");
|
REQUIRE(oss.str() == "tsamples 10000\n");
|
||||||
}
|
}
|
||||||
for (int i = 0; i != det.size(); ++i) {
|
for (int i = 0; i != det.size(); ++i) {
|
||||||
det.setNumberOfTransceiverSamples(prev_val[i], {i});
|
det.setNumberOfTransceiverSamples(prev_val[i], {i});
|
||||||
|
|||||||
Reference in New Issue
Block a user