Commit Graph

146 Commits

Author SHA1 Message Date
Bill Hoffman f262298bb0 ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them 2007-09-11 11:21:36 -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
Ken Martin 3abf39eda0 ENH: support for --build-config-sample feature #1022 2007-03-19 13:04:10 -04:00
Ken Martin 49085f7fed BUG: fixes so that --build-and-test will honor timeouts 2007-01-30 11:35:17 -05:00
Ken Martin 2f84bd1758 ENH: added per test timeout support 2007-01-25 11:16:16 -05: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 bad1215a85 ENH: Add support for preinstall for cmake generated projects when packaging them 2006-04-10 13:44:39 -04:00
Ken Martin d81ebf0c23 ENH: added support for -SP scripts in new processes 2006-04-04 13:04:28 -04:00
Andy Cedilnik 26e1fea95b STYLE: Fix some style issues 2006-03-09 11:57:43 -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
Ken Martin 09b3d9d2f1 STYLE: removed some docs that did not make sense 2005-11-16 10:08:02 -05:00
Andy Cedilnik f47a57c3e8 ENH: Add a way to submit extra files to the dashboard 2005-07-18 12:53:48 -04:00
Andy Cedilnik 3d84afe571 ENH: Several improvements and cleanups:
1. Add long command line arguments for every argument
2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10
3. Improve argument parsing.
4. Add submit index argument
2005-07-18 11:46:45 -04:00
Andy Cedilnik d56bed98d7 ENH: Add debug flag 2005-06-02 18:10:25 -04:00
Andy Cedilnik 7f7cf5ee6b COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGE 2005-05-31 18:40:43 -04:00
Andy Cedilnik f6e5a878fc ENH: Add support for writing output file. While doing that, redesign the way ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake 2005-05-31 17:32:40 -04:00
Andy Cedilnik 7acfc4dc3c ENH: Start adding support for CTest testfiles 2005-04-01 14:57:55 -05:00
Bill Hoffman a6e9dd6cfc FIX: fix output of passing tests 2005-03-11 10:29:29 -05:00
Ken Martin 0e3f4214b9 ENH: better docs 2005-03-10 10:04:21 -05:00
Ken Martin 4d30cb309c ENH: ctest now uses CMake global generator to do the build part of build-and-test 2005-02-22 09:12:10 -05:00
Ken Martin 6fd51bc29d ENH: added missing documentation 2005-01-27 10:47:37 -05:00
Ken Martin e7fd6bac8d COMP: fix warning 2004-11-15 09:39:15 -05:00
Ken Martin 5a0366c6e0 ENH: added -U option to take union of -R and -I 2004-11-13 09:55:31 -05:00
Andy Cedilnik a9028dfd07 BUG: Attempt to remove memory leak 2004-10-03 07:14:05 -04:00
Bill Hoffman 02e90fd76c ENH: better documentation 2004-05-07 13:26:34 -04:00
Bill Hoffman a37157624b BUG: putenv syntax was wrong and caused a crash on the SGI 2004-05-01 22:05:18 -04:00
Andy Cedilnik 23ba009419 ENH: Add environment variable that Dart sets so that tests can know they are being tested from Dart/CTest 2004-04-30 15:17:30 -04:00
Andy Cedilnik 4d55c6540a ENH: Report error and exit when the current directory is not specified 2004-04-21 10:34:08 -04:00
Bill Hoffman b1032dd8e1 ENH: add the ability to run a limited sub-set of the tests 2004-04-13 16:32:29 -04:00
Bill Hoffman 2c2291bbe0 ENH: add new feature to ctest so that it can cmake, build and run a test executable 2004-01-07 11:24:22 -05:00
Andy Cedilnik c3003ab8c3 ENH: Improve notes support (now you can specify them with the rest of the command line), improve reading of configuration file (now it actually rereads configuration file after running update/configure/build...). Remember the model (nightly/experimental) across runs 2004-01-06 19:13:55 -05:00
Andy Cedilnik 2f2596c213 ENH: Add option to submit notes. Implements Bug #465 - Add notes support to CTest 2003-12-26 15:02:26 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Ken Martin a442f1715e a start on the dashboard driver 2003-12-01 19:25:51 -05:00
Andy Cedilnik 8bbabb8559 ENH: Add documentation for -D and add missing targets 2003-08-11 12:20:31 -04:00
Brad King 74980113da ENH: Clarification of help dumped when no arguments are given and no test file is found. 2003-08-07 17:43:37 -04:00
Brad King 1471a1a6f1 ENH: Added documentation for ctest. 2003-08-06 15:03:56 -04:00
Andy Cedilnik 8d8d39524d ERR: Remove warning 2003-05-06 10:16:22 -04:00
Andy Cedilnik bec9b174f5 ENH: Fix some dart issues. Now it works fine without dart. 2003-05-02 13:57:25 -04:00
Andy Cedilnik 05ce4afb3e ENH: Rename option -D to -C because we will use -D later 2003-04-25 14:52:02 -04:00
Andy Cedilnik a69c70d2d7 Start working on cont 2003-02-10 23:19:01 -05:00
Andy Cedilnik 2756c05b60 Fix date issues with different models 2003-02-10 21:52:01 -05:00
Andy Cedilnik 72cde70ee8 Split ctest into two three files 2002-12-16 21:19:21 -05:00
Andy Cedilnik e0cec1e650 Add support for only showing what will be done. This way you can for example get a list of all tests: ctest -N or list of all tests that match regex: ctest -N -R regex 2002-12-15 13:45:43 -05:00
Ken Martin ad8504701e fixed warnings 2002-12-13 09:27:31 -05:00
Brad King 54541bd40a ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message. 2002-12-12 11:36:28 -05:00
Brad King 4888c088ae ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 18:13:33 -05:00
Brad King d6f98c2a82 ENH: Added cmSystemTools::EnableMSVCDebugHook() to prevent error dialogs when CMake is invoked by Dart. 2002-12-11 11:49:08 -05:00
Andy Cedilnik 238815fe19 Remove warning 2002-12-10 13:36:37 -05:00
Andy Cedilnik c17a0495f9 Initial addition of coverage 2002-12-08 22:36:54 -05:00
Andy Cedilnik 146a3de46d Fix for network paths 2002-11-21 12:26:31 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
Andy Cedilnik d7ee016535 Move the hi-res time to system tools 2002-11-06 13:06:49 -05:00
Brad King 1f6a3c67b1 ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 18:03:27 -04:00
Andy Cedilnik c1c74f925c When in verbose mode print test command 2002-10-18 15:51:12 -04:00
Andy Cedilnik eda89848be Remove unused variable 2002-10-16 08:49:07 -04:00
Andy Cedilnik f70a759446 Remove std::hex as it does not seems to work on SGI, attempt to fix ftime problem on borland 2002-10-15 07:20:02 -04:00
Andy Cedilnik 5a1fccd34d Fix namespace, typo, and make ftime work on windows 2002-10-14 18:33:10 -04:00
Andy Cedilnik f4859295eb Even more cleanups, fix time on certain platforms such as windows, cygwin, and linux. Hopefully we can add entries for other platforms until try_compile works. Also escape certain characters for xml. 2002-10-14 15:11:21 -04:00
Andy Cedilnik 066cea228b More cleanups, fix prexontext and log number 2002-10-14 09:30:10 -04:00
Andy Cedilnik 461a3d2089 Add LastBuild.log file, fix some minor problems in output, modify output a bit... 2002-10-13 23:07:54 -04:00
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Andy Cedilnik 1dcfcc809e Remove warning 2002-10-10 08:23:29 -04:00
Andy Cedilnik 089429fee9 Try to use platform independent input string stream 2002-10-10 08:11:05 -04:00
Andy Cedilnik ea87271c4a Reorganization, cleanup and some improvement in dart emulation 2002-10-08 22:54:24 -04:00
Andy Cedilnik 8f63293056 Add parsing of warnings and errors 2002-10-08 22:00:11 -04:00
Andy Cedilnik 350eeeab4e Add configure option and fix potential bug in other targets. Now the run command is actually run with directory, so eventually we should be able to run this from a subdirectory 2002-10-08 20:02:01 -04:00
Andy Cedilnik fba1ca0b68 Fix update so that it actually updates the source directory, 2002-10-06 21:25:30 -04:00
Andy Cedilnik 088709e99f Add missing namespace 2002-10-06 20:44:29 -04:00
Andy Cedilnik da70a950de Add some minimal Dart capability to ctest. For example now you can actually use ctest to build projects, do cvs update on all platforms. This is especially cool for Visual Studio where you do not want to load the whole development environment just to build your project. 2002-10-06 20:36:52 -04:00
Ken Martin 5b6d899bc6 Set comspec substitute 2002-09-30 14:00:28 -04:00
Andy Cedilnik 80f20047af Add verbose flag -V, which makes the output of tests to be displayed; also add help to ctest 2002-09-24 18:34:16 -04:00
Ken Martin 4dec2a174a remove unused variables 2002-09-15 09:54:08 -04:00
Ken Martin 7df776057b BUG: make sure windows paths are used for the command or it will not work for win 98 2002-06-24 14:07:46 -04:00
Brad King 3d7a869b39 ERR: Fix for fprintf format warning. 2002-06-18 16:32:36 -04:00
Bill Hoffman ceb365813f ENH: fix depend problem 2002-05-22 09:47:41 -04:00
Sebastien Barre 31413a216b ENH: if -R or -E was used, displays also the name of the tests that passed. 2002-03-29 16:03:19 -05:00
Ken Martin 543b4ca1b9 less noisy about changing directories 2002-03-15 10:43:24 -05:00
Bill Hoffman 567edf0e9a ENH: overhaul of RunCommand on windows, if only win32 had popen... 2002-03-14 11:11:39 -05:00
Bill Hoffman 809b32fe59 ENH: remove several compiler warnings 2002-03-13 10:25:11 -05:00
Sebastien Barre e64c63cc90 ENH: add -E option (exclude tests matching a regexp) 2002-03-06 17:58:44 -05:00
Bill Hoffman 0b6f8be725 add command line option -D for config directory to run 2002-02-26 15:15:16 -05:00
Sebastien Barre 513d48c5ea ENH: Since each test can send a lot of text to stderr/stdout, ctest now displays the list of tests that failed at the end of the process. 2002-02-21 16:06:54 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Bill Hoffman 2c0f4f6725 ENH: add flush 2001-12-11 10:39:19 -05:00
Ken Martin 9214ad0ec6 minor fix for not found executables 2001-12-03 15:55:28 -05:00
Berk Geveci 521d8d9410 Improvements to the curses interface. 2001-11-29 16:44:22 -05:00
Bill Hoffman 8591786867 ENH: add better error reports in parsing cmake files, like what file has the error 2001-10-02 17:28:55 -04:00
Berk Geveci 7d09ca52f1 handle spaces in commands and args 2001-09-20 16:43:51 -04:00
Ken Martin faafcdddbf updated testing 2001-09-11 15:17:40 -04:00
Ken Martin 08a89bd8dc added regexp option 2001-08-29 16:42:03 -04:00
Ken Martin d586449a64 better formatted output 2001-08-27 10:23:45 -04:00
Bill Hoffman 047c7b5af4 ENH: add more testing 2001-08-23 16:00:46 -04:00
Ken Martin bd4c5cf362 also check path for test executables 2001-08-23 13:12:13 -04:00
Ken Martin 32e789efd2 fixed format 2001-08-23 11:39:21 -04:00
Ken Martin 2190ddc4e9 added test driver for make test target 2001-08-23 11:12:19 -04:00