check frames for HDF5
All checks were successful
Build on RHEL9 / build (push) Successful in 4m17s
Build on RHEL8 / build (push) Successful in 4m33s

This commit is contained in:
2025-12-08 09:10:11 +01:00
parent c968c1f3f7
commit 8a194ddaa0

View File

@@ -188,9 +188,11 @@ void create_files_for_acquire(
// acquire and get num frames caught
test_acquire_with_receiver(caller, det);
frames_caught = det.getFramesCaught().tsquash(
"Inconsistent number of frames caught")[0];
REQUIRE(frames_caught == num_frames);
if (check_num_frames) {
auto frames_caught = det.getFramesCaught().tsquash(
"Inconsistent number of frames caught")[0];
REQUIRE(frames_caught == num_frames);
}
#endif
// restore previous state