Commit Graph

484 Commits

Author SHA1 Message Date
Bill Hoffman 3017259ac4 ENH: add test output to valgrind output and truncate output for valgrind 2007-07-26 16:38:00 -04:00
Bill Hoffman ca31d33151 ENH: fix bug with valgrind output being truncated 2007-07-25 16:37:50 -04:00
Bill Hoffman 132cb5d479 ENH: add support for bounds checker 2007-07-24 14:43:31 -04:00
Bill Hoffman 2fb1c43a11 ENH: fix div by 0 2007-07-20 13:03:14 -04:00
Alexander Neundorf 55303d6dd2 STYLE: fix line lengths
Alex
2007-07-20 08:36:16 -04:00
Bill Hoffman 21b5c7d2b4 ENH: add more verbose output 2007-06-14 13:05:09 -04:00
Alexander Neundorf 6e28861c18 ENH: remove non/scriptable cmake commands from the script handler in ctest,
as discussed with David. This also gives a better ctest man page with just
the commands you should actually use in ctest scripts.
Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an
error. Now you get an error instantly if using one of these commands.

Alex
2007-06-12 10:56:40 -04:00
Bill Hoffman c64447c368 ENH: make sure working directory is set 2007-06-12 10:19:13 -04:00
David Cole ed1a04360a BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs. 2007-06-11 15:36:50 -04:00
Alexander Neundorf e37f8e2964 STYLE: create command documentation for ctest
I think some of the cmake commands should be removed from ctest if possible,
like add_executable etc.

Alex
2007-06-08 16:06:33 -04:00
Bill Hoffman 93c0384f48 ENH: use new covbr that does not stop on error 2007-06-08 12:29:40 -04:00
Ken Martin a175613a56 BUG: better passing of global TIMEOUT to internal ctest invocaitons 2007-06-06 11:02:24 -04:00
Ken Martin 8fdca686b3 ENH: fix passing of time limit to some ctest invocations that also use build-options 2007-06-04 13:39:43 -04:00
Bill Hoffman fe1c4649ef ENH: remove debug that caused tests to fail 2007-06-02 16:15:01 -04:00
Bill Hoffman fa8f556a9d ENH: opps 2007-06-01 23:06:14 -04:00
Bill Hoffman 7bdad54614 ENH: initial bullseye stuff 2007-06-01 15:40:07 -04:00
Brad King 58debfd6bd ENH: Use IF(NOT DEFINED) check to short-circuit size test. 2007-05-17 15:17:45 -04:00
Alexander Neundorf 61d3444f93 ENH: merge CMake-CrossCompileBasic to HEAD
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions

Alex
2007-05-17 13:20:44 -04:00
Brad King bceb1532c6 STYLE: Fixed line too long. 2007-04-28 08:25:10 -04:00
Andy Cedilnik a7019a5253 STYLE: Add somme comments 2007-04-27 09:01:22 -04:00
Andy Cedilnik 64e0459f93 ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov 2007-04-26 23:20:12 -04:00
Andy Cedilnik 826dc8696c COMP: Fix kwstyle 2007-04-04 13:06:20 -04:00
Ken Martin fabd9def68 BUG: even safer checking of return value 2007-03-28 11:07:36 -04:00
Ken Martin f0857fcbd3 BUG: even safer checking of return value 2007-03-28 11:06:34 -04:00
Ken Martin c6cf2ca108 BUG: fix checking of the return value for a build 2007-03-28 10:58:00 -04:00
Ken Martin f6c9b6d631 ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:52:27 -04:00
Ken Martin 562c17dfeb ENH: try markign non zero return values as warnings for make programs 2007-03-20 14:31:34 -04:00
Ken Martin ca7668d993 ENH: add another error regexp 2007-03-20 14:11:32 -04:00
Ken Martin 3abf39eda0 ENH: support for --build-config-sample feature #1022 2007-03-19 13:04:10 -04:00
Brad King 861e3a7107 COMP: Fix bad escape sequence. 2007-03-16 16:04:31 -04:00
Andy Cedilnik ed1081f909 ENH: More regular expressions for visual studio 6 2007-03-16 14:51:28 -04:00
Brad King 8f6b49f7b1 STYLE: Fixed line-too-long. 2007-02-02 09:11:39 -05:00
Andy Cedilnik 7437ceab83 ENH: Allow to specify build target 2007-01-30 11:48:47 -05:00
Ken Martin 49085f7fed BUG: fixes so that --build-and-test will honor timeouts 2007-01-30 11:35:17 -05:00
Ken Martin 15d338e26f COMP: fix warning 2007-01-26 09:31:44 -05:00
Ken Martin 2f84bd1758 ENH: added per test timeout support 2007-01-25 11:16:16 -05:00
Bill Hoffman c2308e796f COMP: fix line length style error 2006-12-05 09:14:32 -05:00
Bill Hoffman 434d2292c5 ENH: put checks on vector before referencing begin iterator 2006-12-02 13:17:53 -05:00
Bill Hoffman 9442cd33ba ENH: fix it to work with stl debug mode on mac 2006-11-09 16:07:38 -05:00
Andy Cedilnik 5418998e46 STYLE: Fix typo 2006-10-26 11:01:52 -04:00
Andy Cedilnik b4da7bbaab STYLE: Fix line length 2006-10-25 08:56:56 -04:00
Andy Cedilnik e8d48151d3 BUG: Looks like gcov produces lines with string /*EOF*/ on them if there is no line at the end of the file. This will fix the coverage code complaining about it 2006-10-24 12:44:59 -04:00
Brad King f91b3c1daa ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653. 2006-10-19 15:00:10 -04:00
Ken Martin f7a5289e31 ENH: added total time limit for a CTest run bug 1207 2006-10-19 10:45:19 -04:00
Andy Cedilnik 2071291956 STYLE: Fix kwstyle 2006-10-15 07:54:52 -04:00
Andy Cedilnik 8a4c70cf6d COMP: Fix Sun build 2006-10-13 14:44:35 -04:00
Andy Cedilnik 870f2aeb2e BUG: Replace some errors with warnings 2006-10-13 10:27:01 -04:00
Andy Cedilnik 2f713072c7 ENH: Report command line as a measurement and allow user to add custom measurements 2006-10-13 09:30:33 -04:00
Andy Cedilnik 61a4c12ce6 BUG: Use BuildDirectory from the DartConfiguration information. Also, Make missing coverage information not make ctest fail 2006-10-12 16:31:54 -04:00
Andy Cedilnik 9226a9262f BUG: Report and error when ctest -S script fails... Fixes: Bug #3540 2006-10-12 15:10:21 -04:00
Andy Cedilnik 911317a2a7 ENH: Handle more regular expressions 2006-10-12 14:47:40 -04:00
Bill Hoffman 027b9cbe87 BUG: fix bug where converage was required to get valgrind output because of bad current directory 2006-10-05 17:53:09 -04:00
Andy Cedilnik b50691bb49 ENH: Handle more warnings properly on AIX 2006-08-22 16:07:20 -04:00
Andy Cedilnik 6b5403c586 ENH: fix for no newline on some makes fix for ctest and some symlinks 2006-08-14 10:51:08 -04:00
Bill Hoffman 2ddf9ad56a ENH: add cmake output to build and test 2006-08-08 15:55:41 -04:00
Brad King ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Brad King 4a60db1184 BUG: Fix error message when handler cannot be created. 2006-07-27 09:40:21 -04:00
Andy Cedilnik a9c0929d39 COMP: Handle both ansi and non-ansi C 2006-07-26 11:46:22 -04:00
Andy Cedilnik d2710d5142 STYLE: Fix kwstyle 2006-07-13 09:13:29 -04:00
Andy Cedilnik 6101b67610 ENH: Remove debug 2006-07-12 16:30:14 -04:00
Andy Cedilnik 6bdff06594 STYLE: Remove debug 2006-07-12 09:21:43 -04:00
Andy Cedilnik 12cc89a8e5 BUG: Try to fix the problem of bad test names 2006-07-11 15:58:07 -04:00
Andy Cedilnik 2a31d34b2e ENH: Be more verbose 2006-07-07 13:59:35 -04:00
Brad King 87d4d0e039 BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles. 2006-06-01 15:51:24 -04:00
Andy Cedilnik 231bd4eb73 BUG: Fix segfault 2006-05-11 12:00:40 -04:00
Ken Martin aae0bcdacf STYLE: fix line length 2006-05-10 13:50:44 -04:00
Andy Cedilnik e2102dea48 BUG: Make handle arguments work again 2006-04-30 03:16:37 -04:00
Andy Cedilnik 34feb381be ENH: Allow CTEST_UPDATE_COMMAND and fix the comments. This should allow SVN update too, maybe 2006-04-29 20:13:05 -04:00
Andy Cedilnik 2d81046ae2 ENH: Add support for special tracks, fix options of handlers so that the -R, -U, and so on work in the new style scripting 2006-04-28 11:59:31 -04:00
Andy Cedilnik 2ae84e5ba6 ENH: Fix problem with Source Lines and add debugging of regular expressions 2006-04-27 15:23:39 -04:00
Andy Cedilnik 55c0ff5f64 BUG: Improve the behavior of the ReadCustomFilesCommand 2006-04-09 07:45:18 -04:00
Ken Martin d81ebf0c23 ENH: added support for -SP scripts in new processes 2006-04-04 13:04:28 -04:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Andy Cedilnik 337362dfcf COMP: Return 0 instead of false 2006-03-29 12:33:41 -05:00
Andy Cedilnik 386900bfdd ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script 2006-03-29 12:01:24 -05:00
Andy Cedilnik ad380d6b8b BUG: Fix the read custom files command and add a coverage test 2006-03-28 16:36:48 -05:00
Andy Cedilnik fce93e890d ENH: Add command to read ctest custom files 2006-03-28 14:37:44 -05:00
Andy Cedilnik 9ce59dbde0 COMP: Remove warning 2006-03-23 15:35:03 -05:00
Andy Cedilnik ccde6c47d8 ENH: More error handling 2006-03-23 09:56:32 -05:00
Andy Cedilnik 15d7dd9937 ENH: Remove cmGlob and use glob from kwsys 2006-03-21 12:54:31 -05:00
Andy Cedilnik 124860a9ee COMP: Make members protected so that subclass can use them 2006-03-16 11:34:58 -05:00
Andy Cedilnik 867e41d23b BUG: Couple of memcheck bugs: Log files should really be different for test and memcheck. Also make sure to not trunkate the output of the test until the valgrind or any other checking is pefrormed. 2006-03-16 11:29:12 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Andy Cedilnik 609af5c969 ENH: Add svn cleanup before running svn 2006-03-15 09:23:35 -05:00
Andy Cedilnik 862f5df25c STYLE: Fix some style issues 2006-03-10 15:03:09 -05:00
Andy Cedilnik 6503a0eecc STYLE: Fix some style issues 2006-03-09 11:17:10 -05:00
Andy Cedilnik 98dc57c0ae BUG: More VS8 fixes 2006-03-01 12:50:03 -05:00
Andy Cedilnik a8c8f1738b BUG: Fix for STL 2006-02-28 16:22:17 -05:00
Andy Cedilnik 0f36f0ef90 STYLE: Remove debug 2006-02-28 15:31:10 -05:00
Andy Cedilnik 36d7f3990a ENH: Add support for multiple build targets and start adding simple cpack tests 2006-02-28 08:23:40 -05:00
Andy Cedilnik 4259971961 ENH: Since list file cache does not make much sense any more (because of proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out 2006-02-07 08:49:42 -05:00
Andy Cedilnik 04c705bc01 ENH: Better handle interleved error/output 2006-01-27 13:46:33 -05:00
Bill Hoffman 62e4c3f22a ENH: add extra thing for svn X status output 2006-01-27 11:19:22 -05:00
Brad King 22c62c9e65 BUG: Sweeping changes to cleanup computation of target names. This should
fix many bugs related to target names being computed inconsistently.

- Centralized computation of a target's file name to a method in
  cmTarget.  Now that global knowledge is always available the
  *_CMAKE_PATH cache variables are no longer needed.

- Centralized computation of link library command lines and link
  directory search order.

- Moved computation of link directories needed to link CMake targets
  to be after evaluation of linking dependencies.

This also removed alot of duplicate code in which each version had its
own bugs.

This commit is surrounded by the tags

  CMake-TargetNameCentralization1-pre

and

  CMake-TargetNameCentralization1-post

so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Ken Martin 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 2006-01-12 13:49:32 -05:00
Bill Hoffman 5261f51e45 BUG: fix for bug 2560, Xcode does not create correct bundles 2005-12-19 11:29:57 -05:00
Andy Cedilnik 5007cbce3b BUG: Fix the problem with update.xml.tmp not being coppied 2005-12-13 15:16:46 -05:00
Andy Cedilnik 782bef7374 ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2 2005-12-01 11:41:00 -05:00
Bill Hoffman 9312deb035 BUG: fix spelling error 2005-11-22 15:15:52 -05:00
Bill Hoffman c0ee3a13a5 ENH: add new error regex 2005-11-18 10:40:31 -05:00