aboutsummaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake
diff options
context:
space:
mode:
authorKevin Rocard <kevin.rocard@intel.com>2015-03-06 10:36:40 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:32:47 -0700
commit7fe36eead17ee1afb9ba26e1e4eb8613b559f71d (patch)
treeaa5c5d1c3de1ed4d3208534510f21eadffae5ce0 /CTestCustom.cmake
parentfe6401ed98f5546040f29d8124046840468754fa (diff)
downloadexternal_parameter-framework-7fe36eead17ee1afb9ba26e1e4eb8613b559f71d.zip
external_parameter-framework-7fe36eead17ee1afb9ba26e1e4eb8613b559f71d.tar.gz
external_parameter-framework-7fe36eead17ee1afb9ba26e1e4eb8613b559f71d.tar.bz2
Use ctest for testing
Test were enabled with the enable_testing command. Nevertheless this method is very basic. Include CTest, as this cmake utility enables automatic build + test + coverage generation + memchek test (valgrind) + sending report in one command: ```make Experimental``` There are far more features added by this utility, see: http://www.cmake.org/Wiki/CMake/Testing_With_CTest#Dashboards Signed-off-by: Kevin Rocard <kevin.rocard@intel.com>
Diffstat (limited to 'CTestCustom.cmake')
-rw-r--r--CTestCustom.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/CTestCustom.cmake b/CTestCustom.cmake
new file mode 100644
index 0000000..bcf65e9
--- /dev/null
+++ b/CTestCustom.cmake
@@ -0,0 +1,6 @@
+SET(CTEST_CUSTOM_MEMCHECK_IGNORE
+ ${CTEST_CUSTOM_MEMCHECK_IGNORE}
+ # Python generates too many valgrind errors,
+ # runing python based tests would be long and useless.
+ fix_point_parameter
+ )