summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* libarchive: Remove unused STDC_HEADERS try_runBrad King2009-11-307-95/+0
| | | | | This was the only try_run() in libarchive, and the result was not used in the source code. We remove it to allow cross-compiling to work.
* Don't allow -G -M on CUDA versions less than 3.0.James Bigler2009-11-301-1/+15
|
* CTest: Test process tree kill on timeoutBrad King2009-11-305-3/+34
| | | | | | | | | | | We extend the CTestTestTimeout test to check that when a test times out its children (grandchildren of ctest) are killed. Instead of running the timeout executable directly, we run it through a cmake script that redirects the timeout executable output to a file. A second test later runs and verifies that the timeout executable was unable to complete and write data to the log file. Only if the first inner test times out and the second inner test passes (log is empty) does the CTestTestTimeout test pass.
* 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-302-4/+14
| | | | | | | 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.
* Cleanup CMakeBuildTest in test_clean targetBrad King2009-11-301-0/+1
| | | | | The test_clean target is supposed to remove all test build directories. We add the build directory for CMakeBuildTest because it was missing.
* KWSys Nightly Date StampKWSys Robot2009-11-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-291-1/+1
|
* CPackRPM:: Fix bug on Open SuSE 11.2 coming from initial fix of bug8972Eric Noulard2009-11-281-5/+18
| | | | Eric
* 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.
* Improve fake $HOME test isolation codeBrad King2009-11-242-6/+10
| | | | | | | | | | | | | The commit "Fake $HOME to isolate tests from user" started setting $HOME in the CTest script environment. On some platforms tests depend on some local configuration in the home directory, such as the "cvs login" for KWSys in CTestTest3. In this commit we now construct a fake home dir during CMake config step and populate it with a .cvspass file needed by the test. We also check CTEST_NO_TEST_HOME to optionally disable the test home. See issue #9949.
* BUG 9961: ctest --help should not display a Generators sectionZach Mullen2009-11-243-1/+11
|
* Test CMP0015 OLD and NEW link_directories behaviorBrad King2009-11-246-0/+67
| | | | | We create a LinkDirectory test to check that the policy OLD and NEW behaviors work as documented. See issue #9697.
* 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
|
* also provide QT_DESIGNER_EXECUTABLE and QT_LINGUIST_EXECUTABLEAlexander Neundorf2009-11-231-1/+18
| | | | Alex
* 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.
* Fake $HOME to isolate tests from userBrad King2009-11-231-0/+7
| | | | | | | | | | On platforms with $HOME in the environment, some of our features use it to store information in the user home directory. However, tests for these features should not touch the real user home directory. Instead we configure a fake $HOME that points inside the build tree for use during testing. See issue #9949.
* 64 bit should be setting 64 bit and not 32 bit.Bill Hoffman2009-11-231-2/+2
|
* libarchive: Use one architecture for try-compilesBrad King2009-11-231-0/+7
| | | | | | | | | We use CHECK_TYPE_SIZE in libarchive to check for the existence of some types. For universal binary builds on the Mac, the size check can fail if it is inconsistent across architectures. However, we do not actually need the size so it is safe to do the checks for only one architecture. See issue #9913.
* BUG 9950: increase timeout for BootstrapTest to 1.5 hoursZach Mullen2009-11-231-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-231-1/+1
|
* CPackRPM: do not forget to include installed symlinks (bug 9927)Eric Noulard2009-11-221-1/+5
| | | | Eric
* don't use deprecated UsePkgConfig.cmake file in FindLibXslt.cmake, some ↵Alexander Neundorf2009-11-222-32/+22
| | | | | | | | | | cosmetics -use find_package(PkgConfig) instead of include(UsePkgConfig) -remove the "if already cached make silent" logic, this is already handled by find_package_handle_standard_args() -remove the if(WIN32) around pkg-config, it shouldn't be necessary Alex
* 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
* Fix the build for non-MS compilers.Bill Hoffman2009-11-211-1/+3
|
* 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.