Functions | Variables
BasisTest.cmake File Reference

CTest configuration. Include this module instead of CTest. More...

#include "CTest.cmake"
#include "CTestTargets.cmake"
+ Include dependency graph for BasisTest.cmake:

Go to the source code of this file.

Functions

function basis_add_test (in TEST_NAME, in ARGN)
 Add test. More...
 
function basis_add_test_driver (in TESTDRIVER_NAME, in ARGN)
 Create and add a test driver executable. More...
 
function basis_add_tests_of_default_options (in TARGET_NAME)
 Add tests of default options for given executable. More...
 
function basis_disable_testing_if_no_tests ()
 Disable testing if project does not implement any tests. More...
 
function basis_get_test_property (out VAR, in TEST_NAME, in ARGN)
 Get a property of the test. More...
 
function basis_set_tests_properties (in ARGN)
 Set a property of the tests. More...
 

Variables

option BUILD_TESTING = OFF
 Request build of tests. More...
 
cmake RUN_FROM_CTEST_OR_DART
 
cmake RUN_FROM_DART
 

Detailed Description

CTest configuration. Include this module instead of CTest.

Note
This module is included by basis_project_initialize().

Definition in file BasisTest.cmake.

Variable Documentation

§ BUILD_TESTING

option BUILD_TESTING = OFF

Request build of tests.

Definition at line 24 of file BasisTest.cmake.

§ RUN_FROM_CTEST_OR_DART

cmake RUN_FROM_CTEST_OR_DART

Definition at line 35 of file BasisTest.cmake.

§ RUN_FROM_DART

cmake RUN_FROM_DART

Definition at line 29 of file BasisTest.cmake.