CTest configuration. Include this module instead of CTest. More...
#include "CTest"
#include "CTestTargets"
Go to the source code of this file.
Functions | |
function | basis_add_test (in TEST_NAME, in ARGN) |
Add test. | |
function | basis_add_test_driver (in TESTDRIVER_NAME, in ARGN) |
Create and add a test driver executable. | |
function | basis_add_tests_of_default_options (in TARGET_NAME) |
Add tests of default options for given executable. | |
function | basis_disable_testing_if_no_tests () |
Disable testing if project does not implement any tests. | |
function | basis_get_test_property (in VAR, in TEST_NAME, in ARGN) |
Get a property of the test. | |
function | basis_set_tests_properties (in ARGN) |
Set a property of the tests. | |
Variables | |
BASIS_PROPERTIES_ON_TESTS | |
Names of recognized properties on tests. | |
option | BUILD_TESTING |
Request build of tests. |
CTest configuration. Include this module instead of CTest.
Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file BasisTest.cmake.
Names of recognized properties on tests.
Unfortunately, the ARGV
and ARGN
arguments of a CMake function() or macro() does not preserve values which themselves are lists. Therefore, it is not possible to distinguish between property names and their values in the arguments passed to basis_set_tests_properties(). To overcome this problem, this list specifies all the possible property names. Everything else is considered to be a property value except the first argument follwing right after the PROPERTIES
keyword. Alternatively, basis_set_property() can be used as here no disambiguity exists.
Definition at line 87 of file BasisTest.cmake.