####################################################################### # Software License Agreement (AGPL-3 License) # # OpenViBE SDK Test Software # Based on OpenViBE V1.1.0, Copyright (C) Inria, 2006-2015 # Copyright (C) Inria, 2015-2017,V1.0 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License version 3, # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. # If not, see . ####################################################################### # Define following options here: # CTEST_CUSTOM_ERROR_MATCH Regular expression for errors during build process # CTEST_CUSTOM_ERROR_EXCEPTION Regular expression for error exceptions during build process # CTEST_CUSTOM_WARNING_MATCH Regular expression for warnings during build process # CTEST_CUSTOM_WARNING_EXCEPTION Regular expression for warning exception during build process # CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS Maximum number of errors to display # CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS Maximum number of warnings to display # CTEST_CUSTOM_TESTS_IGNORE List of tests to ignore during the Test stage # CTEST_CUSTOM_MEMCHECK_IGNORE List of tests to ignore during the MemCheck stage # CTEST_CUSTOM_PRE_TEST Command to execute before any tests are run during Test stage # CTEST_CUSTOM_POST_TEST Command to execute after any tests are run during Test stage # CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE Maximum size of passed test output # CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE Maximum size of failed test output # CTEST_CUSTOM_PRE_MEMCHECK Command to execute before any tests are run during MemCheck stage # CTEST_CUSTOM_POST_MEMCHECK Command to execute after any tests are run during MemCheck stage # CTEST_CUSTOM_COVERAGE_EXCLUDE Regular expression for excluding files from coverage testing # CTEST_CUSTOM_COVERAGE_GLOB Report on uncovered files matching this expression # ----------------------------- # CTest variable customization # ----------------------------- SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 100000) # Warning exception are used to remove warning # linked with ctest generated files (test runner cpp files) SET(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} "warning C4996" ) # Create unit test temporary dir SET(CTEST_CUSTOM_PRE_TEST "@CMAKE_COMMAND@ -E make_directory @OVT_TEST_TEMPORARY_DIR@") # Remove unit test temporary dir SET(CTEST_CUSTOM_POST_TEST "@CMAKE_COMMAND@ -E remove_directory @OVT_TEST_TEMPORARY_DIR@")