preCICE v3.1.2
Loading...
Searching...
No Matches
Functions | Variables
updateSourceFiles Namespace Reference

Functions

 get_gitfiles ()
 
 file_extension (name)
 
 get_cmake_file_paths (root)
 
 is_precice_root (root)
 
 get_file_lists (root)
 
 itest_path_to_suite (path)
 
 test_suites_from_files (itests)
 
 generate_lib_sources (sources, public)
 
 generate_unit_tests (utests)
 
 generate_integration_tests (itests)
 
 main ()
 

Variables

list IGNORE_PATTERNS = ["drivers", "mapping/device"]
 
list CONFIGURED_PUBLIC = ["${PROJECT_BINARY_DIR}/src/precice/Version.h"]
 
list CONFIGURED_SOURCES
 
str SOURCES_BASE
 
str TESTS_BASE
 
str ITESTS_BASE
 

Function Documentation

◆ file_extension()

updateSourceFiles.file_extension ( name)

Definition at line 36 of file updateSourceFiles.py.

◆ generate_integration_tests()

updateSourceFiles.generate_integration_tests ( itests)

Definition at line 153 of file updateSourceFiles.py.

Here is the call graph for this function:

◆ generate_lib_sources()

updateSourceFiles.generate_lib_sources ( sources,
public )

Definition at line 145 of file updateSourceFiles.py.

◆ generate_unit_tests()

updateSourceFiles.generate_unit_tests ( utests)

Definition at line 149 of file updateSourceFiles.py.

◆ get_cmake_file_paths()

updateSourceFiles.get_cmake_file_paths ( root)

Definition at line 41 of file updateSourceFiles.py.

◆ get_file_lists()

updateSourceFiles.get_file_lists ( root)

Definition at line 54 of file updateSourceFiles.py.

Here is the call graph for this function:

◆ get_gitfiles()

updateSourceFiles.get_gitfiles ( )

Definition at line 23 of file updateSourceFiles.py.

◆ is_precice_root()

updateSourceFiles.is_precice_root ( root)

Definition at line 49 of file updateSourceFiles.py.

Here is the call graph for this function:

◆ itest_path_to_suite()

updateSourceFiles.itest_path_to_suite ( path)
Extracts the test suite from a path and translates it to the boost test name

Definition at line 94 of file updateSourceFiles.py.

◆ main()

updateSourceFiles.main ( )

Definition at line 159 of file updateSourceFiles.py.

Here is the call graph for this function:

◆ test_suites_from_files()

updateSourceFiles.test_suites_from_files ( itests)

Definition at line 103 of file updateSourceFiles.py.

Variable Documentation

◆ CONFIGURED_PUBLIC

list updateSourceFiles.CONFIGURED_PUBLIC = ["${PROJECT_BINARY_DIR}/src/precice/Version.h"]

Definition at line 14 of file updateSourceFiles.py.

◆ CONFIGURED_SOURCES

list updateSourceFiles.CONFIGURED_SOURCES
Initial value:
1= [
2 "${PROJECT_BINARY_DIR}/src/precice/impl/versions.hpp",
3 "${CMAKE_BINARY_DIR}/src/precice/impl/versions.cpp",
4]

Definition at line 17 of file updateSourceFiles.py.

◆ IGNORE_PATTERNS

list updateSourceFiles.IGNORE_PATTERNS = ["drivers", "mapping/device"]

Definition at line 11 of file updateSourceFiles.py.

◆ ITESTS_BASE

str updateSourceFiles.ITESTS_BASE
Initial value:
1= """#
2# This file lists all integration test sources and test suites
3#
4target_sources(testprecice
5 PRIVATE
6 {}
7 )
8
9# Contains the list of integration test suites
10set(PRECICE_TEST_SUITES {})
11"""

Definition at line 132 of file updateSourceFiles.py.

◆ SOURCES_BASE

str updateSourceFiles.SOURCES_BASE
Initial value:
1= """#
2# This file lists all sources that will be compiles into the precice library
3#
4
5target_sources(preciceCore
6 PRIVATE
7 {}
8 )
9
10#
11# Select headers to install
12#
13
14set_property(TARGET precice PROPERTY PUBLIC_HEADER
15 {}
16 )
17"""

Definition at line 107 of file updateSourceFiles.py.

◆ TESTS_BASE

str updateSourceFiles.TESTS_BASE
Initial value:
1= """#
2# This file lists all tests sources that will be compiled into the test executable
3#
4target_sources(testprecice
5 PRIVATE
6 {}
7 )
8"""

Definition at line 124 of file updateSourceFiles.py.