reduced unnecessary includes
Build on RHEL9 docker image / build (push) Successful in 4m22s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Run Simulator Tests on local RHEL9 / build (push) Failing after 6m55s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m44s

This commit is contained in:
2026-05-29 10:34:32 +02:00
parent 7d26359f36
commit d1c46ccce4
5 changed files with 10 additions and 28 deletions
@@ -2,11 +2,6 @@
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include "Caller.h"
#include "catch.hpp"
#include "sls/Detector.h"
#include "sls/sls_detector_defs.h"
#include "sls/versionAPI.h"
#include "test-Caller-global.h"
#include "tests/globals.h"
#include "acquire/Acquire.h"
#include "acquire/CTBState.h"
@@ -14,17 +9,11 @@
#include "acquire/FileState.h"
#include "checks/MasterFileChecks.h"
#include <filesystem>
#include <sstream>
namespace sls {
namespace acq = sls::test::acquire;
namespace checks = sls::test::checks;
using test::GET;
using test::PUT;
void acquire_and_check_file_size(
Detector &det, const acq::CTBState &ctb_state = acq::default_ctb_state()) {
auto acq_state = acq::default_acquisition_state();
@@ -3,11 +3,12 @@
#include "test-Caller-global.h"
#include "Caller.h"
#include "GeneralData.h"
#include "catch.hpp"
#include "sls/Detector.h"
#include "sls/logger.h"
#include "tests/globals.h"
#include "catch.hpp"
namespace sls {
namespace acq = sls::test::acquire;
@@ -2,15 +2,8 @@
// Copyright (C) 2021 Contributors to the SLS Detector Package
#pragma once
#include "Caller.h"
#include "sls/Detector.h"
#include "sls/ToString.h"
#include "sls/logger.h"
#include "sls/sls_detector_defs.h"
#include "acquire/Acquire.h"
#include "acquire/CTBState.h"
#include "acquire/FileState.h"
#include "sls/sls_detector_defs.h"
#include <chrono>
#include <filesystem>
@@ -1,18 +1,17 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#include "Caller.h"
#include "catch.hpp"
#include "sls/Detector.h"
#include "sls/Version.h"
#include "sls/sls_detector_defs.h"
#include "test-Caller-global.h"
#include <filesystem>
#include <sstream>
#include "sls/versionAPI.h"
#include "test-Caller-global.h"
#include "tests/globals.h"
#include "acquire/Acquire.h"
#include "acquire/FileState.h"
#include "catch.hpp"
namespace sls {
namespace acq = sls::test::acquire;
@@ -274,7 +274,7 @@ build_detector_specific_state(const Detector &det,
case defs::XILINX_CHIPTESTBOARD:
return build_ctb_specific_state(det, ctb_state);
default:
throw sls::RuntimeError("Unsupported detector type");
throw sls::RuntimeError("Unsupported detector type");
}
}
} // anonymous namespace