Commit Graph

192 Commits

Author SHA1 Message Date
Brad King 1c70745c62 BUG: Fix KWSys SystemInformation dependencies
The SystemInformation component of KWSys requires Process and
FundamentalType.
2008-10-17 12:52:03 -04:00
Brad King 32be27c6de BUG: Enforce KWSys component dependencies early
KWSys component dependencies must be enforced before any tests for
enabled components are done.  This moves the dependency enforcement code
to be as early as possible.
2008-10-17 12:51:57 -04:00
Brad King d82f98f8b1 ENH: Add test for KWSys SharedForward
This tests the basic capability of running another executable from the
build tree.
2008-09-26 08:24:31 -04:00
Brad King 6a906befae ENH: In KWSys set the IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property.
- Tells CMake about the KWSYS_HEADER macro.
  - Enables implicit dependencies of private source files.
  - When a CMake new enough to support the property is required
    the "#if 0" hack can be removed from the source files.
2008-05-14 11:55:41 -04:00
Brad King 33c84b50e9 ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release. 2008-03-17 16:22:28 -04:00
Brad King 4a40fe43e3 ENH: Added CPU.h to KWSys to identify the target CPU and its byte order. 2008-02-27 16:07:14 -05:00
Brad King 82d8264b9f BUG: Need to install cstddef header. 2008-01-31 12:56:18 -05:00
Bill Hoffman c4093afc52 ENH: enhancements for cdash, include system information and better time entries 2008-01-30 11:17:36 -05:00
Bill Hoffman b9a54d392e ENH: turn off for now 2008-01-08 16:28:46 -05:00
Bill Hoffman 50c5d5a3d5 ENH: fix leaks and turn on by default 2008-01-08 14:59:57 -05:00
Bill Hoffman 66fff9d4b7 ENH: add missing file 2008-01-08 11:43:07 -05:00
Bill Hoffman c87853430e ENH: add new system information class for use in ctest 2008-01-08 11:38:28 -05:00
Brad King b0078fd3b4 ENH: Added C String utilities to KWSys. Implemented strcasecmp and strncasecmp. 2007-12-11 11:36:57 -05:00
Brad King f97dddf0ee BUG: Fixed typo in previous commit. 2007-11-12 17:38:15 -05:00
Brad King f8a5d485a0 ENH: Adding DateStamp feature to KWSys. This provides a header file giving preprocessor access to a dated version. The 'datestamp' will be updated automatically every day by a script. 2007-11-12 17:34:14 -05:00
Bill Hoffman 797db515a0 ENH: fix failing test when valgrind is on 2007-09-19 11:16:57 -04:00
David Cole f1115a30ee COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined. 2007-08-15 11:38:13 -04:00
Brad King d5cb9b1a0d COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless. 2007-04-19 12:11:56 -04:00
Brad King 28f6b148f6 ENH: Fixed stl string streaming operators for Watcom. 2007-04-19 11:21:35 -04:00
Brad King 6d2f08b6e1 ENH: Added MD5 implementation to KWSys. 2007-03-14 15:12:10 -04:00
Brad King 091eafefb3 COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr. 2007-03-03 15:43:31 -05:00
Brad King 55abd50681 COMP: Disable auto_ptr test for now. 2007-03-03 15:32:00 -05:00
Brad King 3fcec9daa4 ENH: Added test for auto_ptr. Documented aut_ptr template implementation. 2007-03-03 14:48:48 -05:00
Brad King 0edbb68352 ENH: Cleaned up KWSys tests to use test drivers. 2007-03-03 10:47:06 -05:00
Brad King 53c72ed6c3 COMP: Disable LFS on AIX. 2007-02-21 13:33:19 -05:00
Brad King 52803bc8af BUG: Added use of KWSYS_INSTALL_COMPONENT_NAME_DEVELOPMENT for header file install rules. 2007-01-26 14:26:44 -05:00
Mathieu Malaterre b9787a965f BUG: revert yesterday patch. The implementation was correct. The problem was that _WIN32 was forced to be #define on cygwin when included from ITK, which was miss matching the implementation from the declaration. Put extra condition for CYGWIN system 2006-12-09 11:25:25 -05:00
Mathieu Malaterre 458fa7559b BUG: Make sure to use the Win32 interface (HINSTANCE) for handling shared lib on cygwin and mingw system 2006-12-08 15:52:30 -05: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
David Cole 22442fd9e1 STYLE: Make the set of supported STL headers the same in vtkstd and vtksys/stl. (The union of the present values of the two sets.) 2006-10-06 11:13:02 -04:00
Brad King 40adb2ce03 ENH: Adding tests KWSYS_C_HAS_PTRDIFF_T and KWSYS_C_HAS_SSIZE_T to help ProcessUNIX.c build everywhere without warnings. 2006-10-04 17:27:17 -04:00
Brad King a48cf7e07b ENH: Renamed kwsysPlatformCxxTests to kwsysPlatformTests and generalized it for multiple language tests (C and CXX). 2006-10-04 16:56:32 -04:00
Brad King 683346fa3d ENH: Adding 'System' component of C sources to hold system tools written in C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize. 2006-09-21 11:49:36 -04:00
Brad King 712f3a3da4 COMP: Fix try-compile to fail properly on HP. 2006-08-30 13:59:56 -04:00
Brad King c500078dcc ENH: Adding KWSys component IOStream to provide help with broken C++ stream libraries. 2006-08-27 13:17:23 -04:00
Brad King ffb1a9f80a ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS. 2006-08-25 16:00:10 -04:00
Brad King 6c75c03143 ENH: Switching KWSYS_CHAR_IS_SIGNED test to use KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:53:03 -04:00
Andy Cedilnik 22995b56f6 COMP: Support cmake older than 2.4 2006-08-23 08:07:41 -04:00
Andy Cedilnik 0ec4b84c91 COMP: Add missing cmake file 2006-08-22 15:46:22 -04:00
Andy Cedilnik d510ef2557 ENH: Support large file systems in kwsys 2006-08-22 15:34:14 -04:00
Andy Cedilnik 9bc53f6443 ENH: Add a way to get unused arguments and add a test 2006-07-14 15:02:27 -04:00
Andy Cedilnik d2a3ccd505 ENH: Add support for multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings and doubles 2006-07-14 09:13:23 -04:00
Brad King 9f4e756d41 ENH: Updated installation options and implementation to use INSTALL command if it is available. This will allow installation component assignment and separate installation of the .dll and .lib on windows. 2006-07-05 10:06:31 -04:00
Berk Geveci 98ffeb0926 ENH: Adding cmake 2.4 style installation. NOTE: These changes will work on a paraview build only. This file has to updated to be general 2006-07-05 08:26:19 -04:00
Brad King b9e03e0a1c ENH: Enabling build/test of Terminal code now that it has been manually tested on several platforms. 2006-04-24 12:15:09 -04:00
Brad King 071e26712c ENH: Adding 'Terminal' component to hold support routines for dealing with interactive terminals. Currently only a cfprintf function is provided to print color messages. 2006-04-22 20:20:12 -04:00
Mathieu Malaterre 688e630f6b COMP: Fix compilation on linux (dlopen/dlclose symbols) 2006-04-17 14:13:39 -04:00
Bill Hoffman 388c005ccd ENH: remove test on cygwin since it randomly fails 2006-03-29 13:26:58 -05:00
Brad King 68ad66444b ENH: Adding auto_ptr to KWSys to provide a conforming version everywhere. 2006-03-16 16:04:05 -05:00
Mathieu Malaterre 7b36bf6cfd ENH: Do not build the library if we are not doing Testing 2006-03-13 10:49:35 -05:00
Mathieu Malaterre fe66b15da4 BUG: Fix problem with in the path 2006-03-10 15:08:40 -05:00
Mathieu Malaterre c0161e9e57 BUG: Trying to get testDynamicLoader to work on Solaris and SunOS, where current directory is not lookup when doing dlopen 2006-03-10 14:53:42 -05:00
Mathieu Malaterre f90e754100 BUG: Fix DynamicLoader implementation on MacOSX (using old API) 2006-03-10 13:34:03 -05:00
Bill Hoffman 9345da20f3 ENH: use CMAKE_DL_LIBS and not dl directly as it does not always exist 2006-03-10 10:26:33 -05:00
Mathieu Malaterre ae7fdcf6a9 COMP: Fix cygwin build 2006-03-10 10:23:48 -05:00
Mathieu Malaterre 20c680e7fc ENH: Still more coverage of the DynamicLoader 2006-03-09 17:08:33 -05:00
Mathieu Malaterre 81922f811a ENH: Carefully turn testing of DynamicLib on 2006-03-09 14:41:21 -05:00
Mathieu Malaterre 12ebc4339a ENH: Compile DynamicLoader 2006-03-06 14:07:50 -05:00
Brad King f71a085f74 ENH: Added kwsys::String class to shorten debugging symbols and error messages involving std::string. 2006-02-07 10:11:40 -05:00
Andy Cedilnik 6e675ce602 COMP: Do not build tests if build testing is off 2006-01-04 08:32:35 -05:00
Andy Cedilnik 4e9d832525 ENH: Change flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and add help in cmSetTestsPropertiesCommand 2005-11-09 11:07:36 -05:00
Andy Cedilnik a285a90809 COMP: Fix all dashboards 2005-11-09 07:22:28 -05:00
Andy Cedilnik 1de28a762f ENH: Add test for output regular expression 2005-11-08 17:59:58 -05:00
Andy Cedilnik fdc4795b91 ENH: Push glob to the kwsys 2005-10-18 14:08:55 -04:00
Sebastien Barre 07b45da693 ENH: CMake kills me (so does Cygwin) 2005-10-06 17:16:07 -04:00
Sebastien Barre 6c54adf0ea ENH: avoid the use of GET_TARGET_PROPERTY by testing the CMake executable instead of the test executable 2005-10-05 16:06:45 -04:00
Brad King 01ac3906da BUG: Reverting fundamental type info change until it is fixed on more platforms. It was tested on Linux, SGI, HP, Sun, OSX, Windows with nmake and VS 6, 7, 7.1, 8, Borland Make, and cygwin by hand with spaces in the path and cmake 2.0 and 2.2 before committing but still seems to be failing on some dashboards...strange. 2005-10-05 13:11:34 -04:00
Sebastien Barre 13627538b9 ENH: add kwsys test for DetectFileType 2005-10-04 15:09:00 -04:00
Brad King d937de494a ENH: Converting FundamentalType try-compiles into a single try-run. All the information about the existence, size, and signedness of types can be determined in one program thanks to limits.h. 2005-10-03 14:44:27 -04:00
Andy Cedilnik 2e50727eca ENH: Make message into status 2005-09-20 10:42:38 -04:00
Andy Cedilnik 5f2343bf91 ENH: Test for both commands 2005-09-19 15:15:11 -04:00
Brad King e440c6a826 STYLE: Added backward compatibility disclaimer. 2005-09-18 17:08:56 -04:00
Andy Cedilnik 498c2e6dc5 BUG: Fix which argument is which, also, fix the test to be less agressive 2005-09-18 08:17:39 -04:00
Andy Cedilnik 28a9e9a919 ENH: Add testing of GET_TEST_PROPERTY command 2005-09-17 09:53:09 -04:00
Andy Cedilnik 4d1f0fe4ea ENH: Enable registry, add test of SET_TESTS_PROPERTIES, rename tests for dart2 2005-09-16 09:21:05 -04:00
Brad King 26d6409f9d ENH: If VTK_LIBRARY_PROPERTIES is set then the properties it lists will be added to VTK library targets with SET_TARGET_PROPERTIES. This will be useful to enable shared library versioning. 2005-08-04 17:12:22 -04:00
Brad King 82a8e9be99 ENH: Added FundamentalType header defining platform-independent fixed size/signedness integer types. 2005-07-26 11:37:30 -04:00
Andy Cedilnik 11359c5ccb ENH: Rename test 2005-07-20 12:02:45 -04:00
Brad King 81c92386ac ENH: Enabling new test 7 of process execution. 2005-06-17 14:13:32 -04:00
Andy Cedilnik 6af66e8b20 ENH: Add capability to include files to DartTestfile.txt and add example of that 2005-06-07 09:57:05 -04:00
Brad King 8ddc8accb3 COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable. 2005-04-21 13:47:43 -04:00
Brad King 78d1491173 BUG: Cannot use Win32 implementation for cygwin processes because then cygwin paths to executables like /usr/bin/ls are not found. 2005-04-15 16:10:26 -04:00
Brad King bddade9696 COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx). 2005-04-15 16:00:44 -04:00
Brad King 370a39ce4b ENH: Changing kwsysProcess implementation on Cygwin to use the Win32 implementation instead of the UNIX implementation. This makes dealing with misbehaving children work better. The KWSys Win32 process implementaion is more robust than the Cygwin implementation (partly because it doesn't have to exactly reproduce the POSIX api). 2005-04-15 13:35:26 -04:00
Brad King 6c68c81475 ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers. 2005-04-15 09:54:03 -04:00
Brad King 7f706ecc98 ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported. 2005-04-15 08:59:30 -04:00
Brad King 21d54eea8d STYLE: Renaming kwsys-hash test to kwsys-testhash for consistency with other tests. 2005-04-13 16:58:30 -04:00
Brad King 7297496a34 ENH: Removing old test1.c Process execution example. It is fully replaced by testProcess. 2005-04-13 16:47:19 -04:00
Brad King be1084b524 COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC. 2005-04-13 15:39:03 -04:00
Andy Cedilnik 4a390c174c ENH: Do kwsys testing as part of cmake testing, command line arguments are not experimental and add simple test for systemtools 2005-04-13 13:57:24 -04:00
Brad King 743ab3a05f ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS. 2005-04-13 08:08:54 -04:00
Brad King 3bb990dcf1 BUG: Test for stl stirng operator!= for char* needs to know result of KWSYS_STL_HAVE_STD. 2005-03-30 15:27:16 -05:00
Brad King 65f1e3e1d8 ENH: Added operator!= for stl string and char* when the system does not provide one. 2005-03-29 10:10:25 -05:00
Brad King 22f6d68be3 ENH: Added istream and ostream operators for stl string in KWSys when using old streams that do not provide them. 2005-03-29 08:20:08 -05:00
Brad King ebbe1ffdd9 COMP: Removing stl string io operators change until the CMake bootstrap script can be fixed. 2005-03-26 09:58:05 -05:00
Brad King 098c33c4da ENH: Added istream and ostream operators for stl string when using old streams that do not provide them. 2005-03-26 08:19:36 -05:00
Brad King e0cfb268b6 ENH: Adding SharedForward C header to help create forwarding executables on UNIX systems that configure the shared library runtime search path and then replace themselves with the real executable. This is useful to create binary distributions that work from any extracted location even with shared libraries. 2005-03-25 08:41:57 -05:00
Brad King 0fd1c5d809 ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times. 2005-02-17 10:49:16 -05:00
Andy Cedilnik ddb3dfdf2f ENH: Specify full path to the executable 2004-10-17 22:46:48 -04:00
Andy Cedilnik fdf589d2da ENH: Allow CMake to use CommandLineArguments without warning 2004-09-29 08:58:45 -04:00