aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/EigenTesting.cmake
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-11 21:25:21 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-11 21:25:21 -0500
commitbc18ba7e49d9871e9318dbccc54d0d5ea8825920 (patch)
tree5a738cc7d8a8552fc4e931aa3e28bcf81ad507fe /cmake/EigenTesting.cmake
parentff7fbc9431dc1d32eca2923a6e3d17b16f91648c (diff)
* add maketests script. It is like make but takes a regexp allowing to build selected targets. Next step will be a "mctestr" script doing that and then calling ctest -R.
* in runtest.sh, don't override the default number of repeats. If one thinks the default should be changed, let's change it at the source.
Diffstat (limited to 'cmake/EigenTesting.cmake')
-rw-r--r--cmake/EigenTesting.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake
index 5f45b2be8..3850a1b11 100644
--- a/cmake/EigenTesting.cmake
+++ b/cmake/EigenTesting.cmake
@@ -107,6 +107,7 @@ endmacro(ei_add_test_internal)
#
# Again, ctest -R allows to run all matching tests.
macro(ei_add_test testname)
+ set(cmake_tests_list "${cmake_tests_list}${testname}\n")
file(READ "${testname}.cpp" test_source)
set(parts 0)
string(REGEX MATCHALL "CALL_SUBTEST_[0-9]+|EIGEN_TEST_PART_[0-9]+"