forked from FairRootGroup/FairRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFairRoot_format_test.cmake
More file actions
28 lines (20 loc) · 945 Bytes
/
FairRoot_format_test.cmake
File metadata and controls
28 lines (20 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
# Copyright (C) 2020-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
# copied verbatim in the file "LICENSE" #
################################################################################
list(PREPEND CMAKE_MODULE_PATH "cmake/private")
include(Testlib)
fairroot_ctest_setup()
if ("$ENV{LABEL}" STREQUAL "")
set(CTEST_BUILD_NAME "format-check")
else()
set(CTEST_BUILD_NAME $ENV{LABEL})
endif()
show_jenkins_info()
ctest_start(Experimental TRACK Checks)
ctest_configure(OPTIONS "-DDISABLE_COLOR=ON")
ctest_build(TARGET FormatCheck FLAGS "")
ctest_submit()