38 Commits

Author SHA1 Message Date
Bill Hoffman
b41d447935 ENH: use GetRequiredDefinition instead of GetDefinition and crash 2004-08-11 16:58:09 -04:00
Andy Cedilnik
42bc978b5b BUG: When creating a test driver, do not remove the old file, so if nothing changes, it will not rebuild. Fixes Bug #885 - cmCreateTestSource overwrite file when running cmake 2004-05-27 12:56:52 -04:00
Bill Hoffman
e539cf9f7c ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28 2004-04-28 12:31:18 -04:00
Ken Martin
737d2fc7d6 fix compiler warning 2003-12-15 12:56:13 -05:00
Bill Hoffman
711febc82d ENH: null terminate at the end of the list 2003-07-03 11:39:33 -04:00
Ken Martin
49c8ca5bca undid change because other changes make it no longer neccesary 2003-06-06 09:06:12 -04:00
Ken Martin
b1095dd2f0 minor fix 2003-06-05 14:37:00 -04:00
Brad King
9676bb4b22 BUG: Generate 0 into test driver instead of NULL. 2003-02-05 18:05:12 -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
3bcbca96ab ENH: Improved implementation of MSVC debug hook to only add the hook if DART_TEST_FROM_DART is set in the environment. This is better than always adding the hook and testing the environment from the callback. 2002-12-11 14:15:35 -05:00
Brad King
e9e3855c65 ENH: Generate code to setup MSVC debug library hook. The test driver program will not display error dialogs if DART_TEST_FROM_DART is set in the environment. 2002-12-11 11:32:43 -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
c3007233ec Rename variables to remove warnings 2002-10-17 10:51:23 -04:00
Ken Martin
7ddb408621 removed some includes 2002-09-27 16:24:10 -04:00
Ken Martin
7b5a8762c6 modified how source files store properties 2002-08-16 11:20:18 -04:00
Ken Martin
e1b6ba9f95 fixed some compiler warnings and leaks 2002-08-08 08:51:40 -04:00
Ken Martin
86709a4ccf fixed some compiler warnings and leaks 2002-08-07 11:01:06 -04:00
Ken Martin
3704cc268e fixed some compiler warnings and leaks 2002-08-07 10:30:38 -04:00
Ken Martin
1538956b7f fixed support for C test programs 2002-07-31 11:07:09 -04:00
Sebastien Barre
843616ec7e FIX: <stdlib.h> is enough to get malloc()/free() 2002-07-31 09:29:58 -04:00
Ken Martin
0f6e022dca updated to handle extensions 2002-07-30 16:19:14 -04:00
Sebastien Barre
c05e3613ce FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-30 10:33:02 -04:00
Sebastien Barre
f87057813d FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-30 10:23:39 -04:00
Ken Martin
44a7cd55ff removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 15:57:09 -04:00
Ken Martin
38145ad5a4 modified create test source to create a vector 2002-06-19 12:52:16 -04:00
Bill Hoffman
e4dce08591 ENH: add the ability to process command line arguments in the test driver before the test driver gets them 2002-04-04 16:53:37 -05:00
Sebastien Barre
dbe20d8d3b FIX: should compare to 0, not NULL 2002-03-29 16:25:39 -05:00
Bill Hoffman
7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Bill Hoffman
8b3b49a010 ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc. 2002-03-29 10:06:30 -05:00
Sebastien Barre
627ab62ce0 FIX: tolower is in <ctype.h> !, frenchy 2002-03-29 08:42:48 -05:00
Sebastien Barre
e081345595 ENH: perform case insensitive comparison on test names 2002-03-28 11:43:53 -05:00
Sebastien Barre
b63d6ee7dd FIX: cmSourceFile::SetName was not called correctly for the test source files 2002-03-27 16:19:44 -05:00
Sebastien Barre
b0eb1031b7 ENH: small formatting enh 2002-03-27 15:52:52 -05:00
Sebastien Barre
0fd3ae7ba5 ENH: keep the name of the test as close to the source file (only the function name is cleaned up) 2002-03-26 18:06:36 -05:00
Sebastien Barre
95519ef1b7 ENH: add -R (similar to ctest but use substr instead of regexp). indent. 2002-03-26 17:53:07 -05:00
Sebastien Barre
a5b833119d ENH: now supports tests inside sub-dirs 2002-03-26 16:42:43 -05:00
Bill Hoffman
f4bf694bae ENH: if no arguments are given and there is only one test, then run it 2002-03-26 12:37:25 -05:00
Bill Hoffman
2f639d37b5 ENH: add new command to create a test driver 2002-03-20 16:19:00 -05:00