<commit_before># a ctest driver for nightly builds
# as ctest cannot go through differents projects, this driver is called from Build/CMakeLists.txt
# if -DON_DASHBOARD=1 is passed to cmake

if(NOT MODULE)
  set(MODULE "Numerics")
endif()

if(NOT MODE)
  message(STATUS "set mode to Experimental")
  set(MODE "Experimental")
endif()

set(BUILDNAME ${MODULE})

set(CTEST_SOURCE_DIRECTORY "${SOURCE_DIRECTORY}/${MODULE}")
set(CTEST_BINARY_DIRECTORY "${BINARY_DIRECTORY}")

# here we should have all Siconos sources
set(CMAKE_MODULE_PATH ${SOURCE_DIRECTORY}/${MODULE}/cmake)

if(NOT BUILD_TYPE)
  set(CTEST_BUILD_CONFIGURATION "Profiling")
else()
  set(CTEST_BUILD_CONFIGURATION ${BUILD_TYPE})
endif()

set(CMAKE_BUILD_TYPE ${CTEST_BUILD_CONFIGURATION})
set(CMAKE_SOURCE_DIR ${SOURCE_DIRECTORY})

set(WITH_PIPOL_TARGETS)
set(_PROJECT_NAME ${MODULE})
include(Pipol)
include(SiconosCTest)

set(CMAKE_BINARY_DIR ${CTEST_BINARY_DIRECTORY})

if(NOT SITE)
  site_name(SITE)
endif()

message(STATUS "submission site is ${SITE}")
set(CTEST_SITE "${SITE}")
<commit_msg>[Build] add some traces in CTestDriver<commit_after># a ctest driver for nightly builds
# as ctest cannot go through differents projects, this driver is called from Build/CMakeLists.txt
# if -DON_DASHBOARD=1 is passed to cmake

if(NOT MODULE)
  set(MODULE "Numerics")
endif()

if(NOT MODE)
  message(STATUS "set mode to Experimental")
  set(MODE "Experimental")
endif()

set(BUILDNAME ${MODULE})

set(CTEST_SOURCE_DIRECTORY "${SOURCE_DIRECTORY}/${MODULE}")
set(CTEST_BINARY_DIRECTORY "${BINARY_DIRECTORY}")

# here we should have all Siconos sources
set(CMAKE_MODULE_PATH ${SOURCE_DIRECTORY}/${MODULE}/cmake)
set(CTEST_MODULE_PATH ${SOURCE_DIRECTORY}/${MODULE}/cmake)

message(STATUS "MODULE is: ${MODULE}")
message(STATUS "MODE is: ${MODE}")
message(STATUS "SOURCE_DIRECTORY is: ${SOURCE_DIRECTORY}")
message(STATUS "BINARY_DIRECTORY is: ${BINARY_DIRECTORY}")x

message(STATUS "cmake module path is: ${CMAKE_MODULE_PATH}")


if(NOT BUILD_TYPE)
  set(CTEST_BUILD_CONFIGURATION "Profiling")
else()
  set(CTEST_BUILD_CONFIGURATION ${BUILD_TYPE})
endif()

message(STATUS "BUILD_TYPE is: ${CTEST_BUILD_CONFIGURATION}")

set(CMAKE_BUILD_TYPE ${CTEST_BUILD_CONFIGURATION})
set(CMAKE_SOURCE_DIR ${SOURCE_DIRECTORY})

set(WITH_PIPOL_TARGETS)
set(_PROJECT_NAME ${MODULE})
include(Pipol)
include(SiconosCTest)

set(CMAKE_BINARY_DIR ${CTEST_BINARY_DIRECTORY})

if(NOT SITE)
  site_name(SITE)
endif()

message(STATUS "submission site is ${SITE}")
set(CTEST_SITE "${SITE}")

{'fraction_non_alphanumeric': 0.12390786338363781, 'fraction_numerical': 0.0007942811755361397, 'mean_word_length': 8.126811594202898, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1168264', 'n_tokens_mistral': 910, 'n_tokens_neox': 906, 'n_words': 207}