From 35707954693239acd8de003f3eda65ab72f622d5 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 25 Nov 2021 09:34:00 +0100 Subject: [PATCH] fix test --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index e502572dc..89f834d86 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -541,7 +541,9 @@ TEST_CASE("fliprows", "[.cmd]") { CmdProxy proxy(&det); auto det_type = det.getDetectorType().squash(); bool jungfrauhw2 = false; - if (det_type == defs::JUNGFRAU && det.getSerialNumber() & 0x20000) { + if (det_type == defs::JUNGFRAU && + det.getSerialNumber().tsquash("inconsistent serial number to test") & + 0x20000) { jungfrauhw2 = true; } if (det_type == defs::EIGER || jungfrauhw2) {