<commit_before>## ---------------------------------------------------------------------
##
## Copyright (C) 2013 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
INCLUDE(../setup_testsubproject.cmake)
PROJECT(testsuite CXX)

#
# Set up test environment (does not pick up anything):
#
DEAL_II_PICKUP_TESTS()

IF(NOT DEAL_II_TARGET_CONFIG_INCLUDED)
  INCLUDE(${DEAL_II_TARGET_CONFIG})
  SET(DEAL_II_TARGET_CONFIG_INCLUDED TRUE)
ENDIF()

#
# build_tests tests are special:
#
# Try to configure and build every example step in debug and release
# configuration. Error condition is that if a test is successfully
# configured it must compile successfully...
#
# ... except for the tests listed below: They have to configure, build and
# run successfully in the given build configuration:
#

SET(_category build_tests)

# Run a minimalistic set of steps in debug configuration:
SET(_debug_steps
  step-1  step-2  step-3  step-4  step-5
  step-6  step-47
  )

# Run all configuration independent steps in release configuration:
SET(_release_steps
  step-1  step-2  step-3  step-4  step-5
  step-6  step-7  step-8  step-9  step-10
  step-11 step-12 step-13 step-14 step-16
  step-20 step-23 step-25 step-26 step-27
  step-30 step-38 step-39 step-47 step-48
  step-49
  )

#
# Glob together all tests:
#
IF(DEAL_II_BUILD_DIR)
  LIST(GET DEAL_II_INCLUDE_DIRS 1 _include_dir)
  GET_FILENAME_COMPONENT(_binary_dir ${_include_dir} PATH)
  FILE(GLOB _steps ${_binary_dir}/examples/step-*)
ELSE()
  FILE(GLOB _steps ${DEAL_II_PATH}/${DEAL_II_EXAMPLES_RELDIR}/step-*)
ENDIF()

FOREACH(_step_full ${_steps})
  GET_FILENAME_COMPONENT(_step ${_step_full} NAME)

  FOREACH(_build ${DEAL_II_BUILD_TYPES})
    STRING(TOLOWER ${_build} _build_lowercase)

    SET(_test ${_category}/${_step}.${_build_lowercase})

    # Respect TEST_PICKUP_REGEX:<commit_msg>Tests: Do not run (only build) step-23 in build_tests<commit_after>## ---------------------------------------------------------------------
##
## Copyright (C) 2013 - 2016 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
INCLUDE(../setup_testsubproject.cmake)
PROJECT(testsuite CXX)

#
# Set up test environment (does not pick up anything):
#
DEAL_II_PICKUP_TESTS()

IF(NOT DEAL_II_TARGET_CONFIG_INCLUDED)
  INCLUDE(${DEAL_II_TARGET_CONFIG})
  SET(DEAL_II_TARGET_CONFIG_INCLUDED TRUE)
ENDIF()

#
# build_tests tests are special:
#
# Try to configure and build every example step in debug and release
# configuration. Error condition is that if a test is successfully
# configured it must compile successfully...
#
# ... except for the tests listed below: They have to configure, build and
# run successfully in the given build configuration:
#

SET(_category build_tests)

# Run a minimalistic set of steps in debug configuration:
SET(_debug_steps
  step-1  step-2  step-3  step-4  step-5
  step-6  step-47
  )

# Run all configuration independent steps in release configuration:
SET(_release_steps
  step-1  step-2  step-3  step-4  step-5
  step-6  step-7  step-8  step-9  step-10
  step-11 step-12 step-13 step-14 step-16
  step-20 step-25 step-26 step-27
  step-30 step-38 step-39 step-47 step-48
  step-49
  )

#
# Glob together all tests:
#
IF(DEAL_II_BUILD_DIR)
  LIST(GET DEAL_II_INCLUDE_DIRS 1 _include_dir)
  GET_FILENAME_COMPONENT(_binary_dir ${_include_dir} PATH)
  FILE(GLOB _steps ${_binary_dir}/examples/step-*)
ELSE()
  FILE(GLOB _steps ${DEAL_II_PATH}/${DEAL_II_EXAMPLES_RELDIR}/step-*)
ENDIF()

FOREACH(_step_full ${_steps})
  GET_FILENAME_COMPONENT(_step ${_step_full} NAME)

  FOREACH(_build ${DEAL_II_BUILD_TYPES})
    STRING(TOLOWER ${_build} _build_lowercase)

    SET(_test ${_category}/${_step}.${_build_lowercase})

    # Respect TEST_PICKUP_REGEX:
{'fraction_non_alphanumeric': 0.14970686767169178, 'fraction_numerical': 0.027219430485762145, 'mean_word_length': 3.2804659498207887, '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': '1664807', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1526, 'n_words': 490}