summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* KWSys: Build tests after librariesBrad King2009-12-151-0/+2
| | | | | | | | | | The TestSharedForward executable and TestDynload module do not actually link to a KWSys library, but it is nice to build them after the libraries just like all other test binaries. This also works around a universal binary bug in Xcode 2.x. It forgets to create the output directory for the executable before linking it. We avoid the problem by putting the library in the directory first.
* CTest-side changes to allow users to attach arbitrary files to test results ↵Zach Mullen2009-12-153-4/+100
| | | | that will be submitted to cdash using the ATTACHED_FILES test property.
* KWSys Nightly Date StampKWSys Robot2009-12-151-1/+1
|
* Fix issue #9054 - ensure a valid install name for frameworks.David Cole2009-12-141-7/+14
| | | | | | When the INSTALL_NAME_DIR property is empty, still use a name of the form <name>.framework/Versions/<version>/<name> for installed frameworks.
* KWSys Nightly Date StampKWSys Robot2009-12-141-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-131-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-121-1/+1
|
* Document new --http1.0 option.Zach Mullen2009-12-111-0/+3
|
* Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 ↵Zach Mullen2009-12-114-6/+67
| | | | option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response.
* Add fallback for detecting CPU speed from Windows registry on builds where ↵David Cole2009-12-111-80/+221
| | | | USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in...
* BUG: Fix bug #9894. Make higher resolution CMake icon available as an ↵Clinton Stimpson2009-12-116-4/+8
| | | | application icon. On Mac, the higher resolution one is used in the dock.
* KWSys Nightly Date StampKWSys Robot2009-12-111-1/+1
|
* Restore the "***Not Run" message to ctest command line output for tests ↵Zach Mullen2009-12-101-0/+5
| | | | which did not start due to missing/bad executables or missing required files.
* Unfortunately, I noticed the comment on bug 8668 too late. This changes my ↵Zach Mullen2009-12-105-94/+47
| | | | last implementation of the exe wrapper to something which makes much more sense: a REQUIRED_FILES property on tests.
* [0008668: CTest Dev: Missing executables shown as failed tests when using ↵Zach Mullen2009-12-105-20/+103
| | | | MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
* Fix memory leak that occurred when a test executable could not be started. ↵Zach Mullen2009-12-101-0/+1
| | | | (See BadExe test)
* Simplify CMake self-install special caseBrad King2009-12-101-13/+4
| | | | | | | | | | CMake has a special case for the "make install" target when building CMake itself. We use the just-built CMake to install itself since an existing CMake installation cannot replace itself (at least on Windows). We simplify the code that computes the location of the CMake binary by taking advantage of existing generator support for target lookup. This will make it robust to any changes in CMake's own CMakeLists.txt files in the future.
* BUG: Fix bug #10,000.Clinton Stimpson2009-12-101-5/+13
| | | | | | Some fixes for including Qt frameworks. Remove extra "QtGui.framework" so its not Contents/Frameworks/QtGui.framework/QtGui.framwork/... anymore. Also include QtGui Resource folder, so a Cocoa/Qt based cmake-gui app works.
* KWSys Nightly Date StampKWSys Robot2009-12-101-1/+1
|
* Fix for bug 10001, make vs 10 compiler .rc files correctlyBill Hoffman2009-12-091-30/+39
|
* KWSys Nightly Date StampKWSys Robot2009-12-091-1/+1
|
* CTest: Do not munge UTF-8 output in XML filesBrad King2009-12-084-34/+155
| | | | | | | | | | | | | CTest filters the output from tools and tests to ensure that the XML build/test result documents it generates have valid characters. Previously we just converted all non-ASCII bytes into XML-escaped Unicode characters of the corresponding index. This does not preserve tool output encoded in UTF-8. We now assume UTF-8 output from tools and implement decoding as specified in RFC 3629. Valid characters are preserved, possibly with XML escaping. Invalid byte sequences and characters are converted to human-readable hex values with distinguishing tags. See issue #10003.
* Clean up CMake build tree 'bin' directoryBrad King2009-12-081-0/+2
| | | | | | | | We re-arrange EXECUTABLE_OUTPUT_PATH settings to avoid putting utility and test executables in the 'bin' directory of the build tree. This makes the directory look like that in the installation tree, except that on multi-configuration generators we still use a per-config subdirectory.
* KWSys: Remove default exe output pathBrad King2009-12-081-7/+0
| | | | | | KWSys should not set variables outside its namespace. It can honor the EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it to set a default in the host project cache.
* Local test timeouts will now always take precedence over the global ↵Zach Mullen2009-12-081-2/+1
| | | | --timeout option.
* Remove unused DumpDocumentation codeBrad King2009-12-084-186/+0
| | | | | | | The DumpDocumentation executable and some supporting code and tests were completely unused by CMake. Generation of documentation is done by the individual executables with --help* options. In this commit we simply remove the unused code, executable, and test.
* KWSys Nightly Date StampKWSys Robot2009-12-081-1/+1
|
* CMake global timeout (--timeout option) should prevail over individual test ↵Zach Mullen2009-12-071-1/+2
| | | | timeouts if it is lower than the individual timeout.
* KWSys Nightly Date StampKWSys Robot2009-12-071-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-061-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-051-1/+1
|
* 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
|