* 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.
This commit is contained in:
Benoit Jacob
2009-11-11 21:25:21 -05:00
parent ff7fbc9431
commit bc18ba7e49
4 changed files with 25 additions and 2 deletions

View File

@@ -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]+"