mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-07-14 15:02:58 +02:00
Build on RHEL9 docker image / build (push) Successful in 4m1s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Build and Deploy on local RHEL9 / build (push) Successful in 2m1s
Build and Deploy on local RHEL8 / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m37s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m10s
* refactoring * wip * refactored, yet to take out checkers * checker added * wip acquire ctb state * wip acquire ctb state * wip, acq test * acquire moved out * fix * wip, To fix masterattribtues * wip, masterfilecheks * wip, at ctbexpectedstate * wip, fixing acquire * wip, acquire done * wip * compiles * refactoring * minor * minor * reduced unnecessary includes * fix in tests * removed ctb state check * ctb fix with ctb state * fixed ctb guard tests * minor debug * work for xilinx ctb --------- Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
58 lines
2.1 KiB
CMake
Executable File
58 lines
2.1 KiB
CMake
Executable File
# SPDX-License-Identifier: LGPL-3.0-or-other
|
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
|
|
|
|
target_sources(tests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-SharedMemory.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/acquire/Acquire.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/acquire/ExpectedState.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-rx.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-rx-running.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-pattern.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-eiger.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-jungfrau.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-mythen3.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-gotthard2.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-chiptestboard.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-xilinx-chiptestboard.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-moench.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-global.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-acquire.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Caller/test-Caller-master-attributes.cpp
|
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-Result.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-CmdParser.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-Module.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-Pattern.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test-CtbConfig.cpp
|
|
)
|
|
|
|
# HDF5 file
|
|
if (SLS_USE_HDF5)
|
|
target_compile_definitions(tests
|
|
PUBLIC
|
|
-DHDF5C ${HDF5_DEFINITIONS}
|
|
)
|
|
endif (SLS_USE_HDF5)
|
|
|
|
target_compile_options(tests
|
|
PRIVATE
|
|
# Suppress warnings for deprecated functions in rapidjson
|
|
-Wno-deprecated-declarations
|
|
)
|
|
|
|
target_include_directories(tests
|
|
PUBLIC
|
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
|
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/Caller"
|
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../src>"
|
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include/sls>"
|
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../slsReceiverSoftware/src>"
|
|
PRIVATE
|
|
${SLS_INTERNAL_RAPIDJSON_DIR}
|
|
) |