summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-0412-28/+268
| | | | running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
* KWSys Nightly Date StampKWSys Robot2009-12-041-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-031-1/+1
|
* Hanle the case where a test can not be run because it is a bad executable.Bill Hoffman2009-12-022-15/+14
|
* Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAGBrad King2009-12-021-4/+0
| | | | | This platform configuration variable is unused. Modules are built using the value of CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG.
* Fix .vfproj files with per-source settingsBrad King2009-12-021-0/+4
| | | | | | | The Intel Fortran plugin to VS defines VFFortranCompilerTool as the compiler tool. This commit fixes generated projects to use that tool for per-source settings instead of VCCLCompilerTool. We were already using it for target-wide compiler settings.
* KWSys Nightly Date StampKWSys Robot2009-12-021-1/+1
|
* KWSys: List processes with "ps -ef" on OpenSolarisBrad King2009-12-011-1/+2
| | | | | | | | | In order to kill process trees we need to list all processes to find those whose parent we are killing. We implement process listing on OpenSolaris by using "ps -ef" and parsing the resulting format: UID PID PPID C STIME TTY TIME CMD %*s %d %d %*[^\n]\n
* KWSys: Use "ps -Af" for process list on QNXBrad King2009-12-011-0/+3
| | | | | | | | | In order to kill process trees we need to list all processes to find those whose parent we are killing. We implement process listing on QNX using "ps -Af" and parsing the resulting format: UID PID PPID C STIME TTY TIME CMD %*d %d %d %*[^\n]\n
* KWSys Nightly Date StampKWSys Robot2009-12-011-2/+2
|
* KWSys: Fix process tree kill on 64-bit WindowsBrad King2009-11-301-1/+6
| | | | | | | | We enumerate processes to identify those whose parent is being killed so that we can recursively kill the children. Enumeration uses the Process32(First|Next) windows API functions, which accept PROCESSENTRY32 objects to be filled. This commit corrects the declaration of the entry structure to account for its size on 64-bit Windows.
* Document new timeout command line optionZach Mullen2009-11-301-0/+3
|
* Align test output for timeout condition.Zach Mullen2009-11-301-1/+1
|
* Added the --timeout option to ctest command line. This sets a global ↵Zach Mullen2009-11-303-1/+18
| | | | timeout on all tests if no more specific timeout is set on them.
* KWSys: Restore SIGSTOP/SIGKILL to end process treeBrad King2009-11-301-7/+15
| | | | | | | | | | | | | | | On UNIX systems we kill a tree of processes by performing a DFS walk of the tree. We send SIGSTOP to each process encountered, recursively handle its children, and then send SIGKILL. We once used the above approach in the past, but it was removed by the commit "Do not send both SIGSTOP and SIGKILL when killing a process". The commit was meant to work-around an OS X 10.3 bug in which the child would not always honor SIGKILL after SIGSTOP. At the time we wrongly assumed that the process tree remains intact after SIGKILL and before the child is reaped. In fact the grandchildren may be re-parented to ppid=1 even before the child is reaped, which causes the DFS walk to miss them.
* Singly-quote target names for Watcom linkerBrad King2009-11-301-0/+10
| | | | | | | The Watcom tools do their own command-line parsing and do not accept double-quotes. Instead we single-quote the target output name when invoking wlink and other Watcom tools. This fixes support for spaces in the target output directory path when it is not under the build tree.
* KWSys Nightly Date StampKWSys Robot2009-11-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-291-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-281-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-271-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-261-1/+1
|
* BUG 9969: document set_tests_properties TIMEOUT property.Zach Mullen2009-11-251-0/+2
|
* KWSys Nightly Date StampKWSys Robot2009-11-251-1/+1
|
* Fix for bug #9965 -i was not passed to -E commands.Bill Hoffman2009-11-251-1/+1
|
* Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was ↵Zach Mullen2009-11-241-1/+1
| | | | falling back to using time() which only provides second resolution. Fixed to allow usec res.
* BUG 9961: ctest --help should not display a Generators sectionZach Mullen2009-11-243-1/+11
|
* Teach link_directories to recognize relative pathsBrad King2009-11-244-3/+59
| | | | | | | | We create CMake Policy CMP0015 to make link_directories() treat relative paths with respect to the source tree while retaining compatibility. This makes it consistent with include_directories() and other commands. Changes based on patch from Alex. See issue #9697.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-247-86/+65
| | | | | | | | | | | | | | | | | | | | In CTest command-driven script mode we support starting without a source tree. Previously the ctest_start() command would do some initialization but could not do anything that required CTestConfig.cmake from the input source tree. Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to create the source tree, and then re-initialize everything. This delayed-initialization approach led to many complicated cases of which only some worked. For example, the second initialization only worked correctly in Nightly mode and simply failed for Experimental and Continuous builds. A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start() and then have a single initialization path. In principle this change in behavior could break scripts that set the checkout command after ctest_start() but before ctest_update(). However, the convention we've always followed has been to set all variables before ctest_start(). See issue #9450.
* CTest: Simplify Initialize method signatureBrad King2009-11-242-9/+15
| | | | | | We make the cmCTest::Initialize method private since it is only called from inside the class implementation. We also combine the two boolean arguments into one since they both meant the same thing.
* Suppress Intel float-equality test warningsBrad King2009-11-242-0/+4
| | | | | | | We suppress Intel warning 1572 because the cases where we do equality tests are valid. Since this project does not do numerical computations we need not worry about real instances against which this warning protects.
* KWSys Nightly Date StampKWSys Robot2009-11-241-1/+1
|
* Remove dependence on Qt/STL support.Clinton Stimpson2009-11-231-15/+15
|
* KWSys: Work-around llvm-gcc-4.2 optimizer bugBrad King2009-11-231-0/+5
| | | | | Under -O3 optimization this compiler breaks our testProcess.c source file. We force -O0 for the file to avoid the problem.
* 64 bit should be setting 64 bit and not 32 bit.Bill Hoffman2009-11-231-2/+2
|
* KWSys Nightly Date StampKWSys Robot2009-11-231-1/+1
|
* improve system/compiler specific settings of EclipseAlexander Neundorf2009-11-222-81/+41
| | | | | | | | | -use CMAKE_EXECUTABLE_FORMAT and CMAKE_SYSTEM_NAME to decide which binary parsers to load (ELF/Mach O/PE) -use CMAKE_(C|CXX)_COMPILER_ID to load the respective compiler error parser -remove EclipseToolchainType, which was a mixture between compiler and operating system Alex
* KWSys Nightly Date StampKWSys Robot2009-11-221-1/+1
|
* -document CMAKE_EXTRA_GENERATORAlexander Neundorf2009-11-221-0/+8
| | | | Alex
* KWSys Nightly Date StampKWSys Robot2009-11-211-1/+1
|
* KWSys: Set CMP0003 to NEWBrad King2009-11-201-5/+3
| | | | | | The commit "Enable loose loop constructs in KWSys" set the minimum required CMake version to 2.4.5. This regressed the setting of CMP0003, so we restore it in this commit.
* Teach VS generators to set the MACHINE type correctly.Bill Hoffman2009-11-2012-16/+30
|
* Fix KWSys FundamentalType for Universal BinariesBrad King2009-11-203-19/+92
| | | | | | | | | | | | | | The FundamentalType header needs to know type sizes at preprocessing time. This commit teaches it to avoid using CHECK_TYPE_SIZE because the macro does not work for types whose size varies across architectuers in Mac OS X universal binaries. Fortunately the Mac compilers provide just enough information to detect the needed type sizes during preprocessing. We now use preprocessor macros instead of configuration tests whenever they are available. As a side effect this reduces the number of try-compiles needed with GCC. See issue #9913.
* Create KWSYS_PLATFORM_INFO_TEST macroBrad King2009-11-201-0/+52
| | | | | | | This macro helps KWSys perform try-compile tests that extract 'INFO' strings out of compiled binaries. It works for CMake 2.6 and above. On CMake 2.4 it always returns an empty list of information values, so this should be used only as an optimization until 2.6 is required.
* Check for 'long long' without computing sizeBrad King2009-11-202-4/+14
| | | | | | | In KWSys IOStream we need to detect whether 'long long' exists but we do not need its size. We avoid using CHECK_TYPE_SIZE because it does not work for types whose size varies across architectuers in Mac OS X universal binaries. See issue #9913.
* Enable loose loop constructs in KWSysBrad King2009-11-201-1/+5
| | | | | We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file to enable simpler endif() syntax for CMake 2.4.
* KWSys Nightly Date StampKWSys Robot2009-11-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-191-1/+1
|
* Use backslashes in VS 10 library dependenciesBrad King2009-11-181-0/+1
| | | | | | | | | The list of libraries to be linked into the current target must be specified using windows slashes to that UNC paths such as \\server\share\somelibrary.lib work correctly. See issue #9917.
* Fix VS 10 value of CMAKE_CFG_INTDIRBrad King2009-11-181-1/+1
| | | | | | VS 10 provides $(Configuration) and $(ConfigurationName) but only the former is documented so we prefer it. This also makes CMAKE_CFG_INTDIR consistent with its documentation. See issue #9916.
* Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the ↵David Cole2009-11-181-1/+6
| | | | dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.