4 # Copyright(c) 2012-2018 Intel Corporation
5 # SPDX-License-Identifier: BSD-3-Clause-Clear
8 # ALL PATHS SHOULD BE ENDED WITH "/" CHARACTER
10 MAIN_DIRECTORY_OF_TESTED_PROJECT
= "../../../"
12 MAIN_DIRECTORY_OF_UNIT_TESTS
= "../tests/"
14 # Paths to all directories, in which tests are stored. All paths should be relative to MAIN_DIRECTORY_OF_UNIT_TESTS
15 DIRECTORIES_WITH_TESTS_LIST
= ["cleaning/", "metadata/", "mngt/", "concurrency/", "engine/", "eviction/", "utils/"]
17 # Paths to all directories containing files with sources. All paths should be relative to MAIN_DIRECTORY_OF_TESTED_PROJECT
18 DIRECTORIES_TO_INCLUDE_FROM_PROJECT_LIST
= ["src/", "src/cleaning/", "src/engine/", "src/metadata/", "src/eviction/", "src/mngt/", "src/concurrency/", "src/utils/", "inc/"]
20 # Paths to all directories from directory with tests, which should also be included
21 DIRECTORIES_TO_INCLUDE_FROM_UT_LIST
= ["ocf_env/"]
23 # Paths to include, required by cmake, cmocka, cunit
24 FRAMEWORK_DIRECTORIES_TO_INCLUDE_LIST
= ["${CMOCKA_PUBLIC_INCLUDE_DIRS}" ,"${CMAKE_BINARY_DIR}", "${CMAKE_CURRENT_SOURCE_DIR}"]
26 # Path to directory containing all sources after preprocessing. Should be relative to MAIN_DIRECTORY_OF_UNIT_TESTS
27 PREPROCESSED_SOURCES_REPOSITORY
= "preprocessed_sources_repository/"
29 # Path to directory containing all sources after removing unneeded functions and cmake files for tests
30 SOURCES_TO_TEST_REPOSITORY
= "sources_to_test_repository/"
32 # List of includes. Directories will be recursively copied to given destinations in directory with tests.
33 # key - destination in dir with tests
34 # value - path in tested project to dir which should be copied
35 INCLUDES_TO_COPY_DICT
= { 'ocf_env/ocf/' : "inc/" }