summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add get_filename_component(... REALPATH)Brad King2009-02-092-0/+58
| | | | | | | This patch from Philip Lowman creates a REALPATH mode in the get_filename_component command. It is like ABSOLUTE, but will also resolve symlinks (which ABSOLUTE once did but was broken long ago). See issue #8423.
* BUG: Alternative fix to bug #8423Brad King2009-02-062-44/+0
| | | | | | | | | The patch used to fix this bug used SystemTools::GetRealPath which works only for existing files. It broke the case of using the command get_filename_component for a non-existing file. Also, it changed long-standing behavior in a possibly incompatible way even for existing files. This reverts the original fix and instead updates the documentation to be consistent with the behavior.
* ENH: add missing fileBill Hoffman2009-01-291-0/+43
|
* BUG: fix for #8423Bill Hoffman2009-01-291-0/+1
|
* ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION ↵Bill Hoffman2009-01-271-1/+1
| | | | is auto-defined now
* ENH: Isolate policy changes in included scriptsBrad King2009-01-223-1/+42
| | | | | | | | Isolation of policy changes inside scripts is important for protecting the including context. This teaches include() and find_package() to imply a cmake_policy(PUSH) and cmake_policy(POP) around the scripts they load, with a NO_POLICY_SCOPE option to disable the behavior. This also creates CMake Policy CMP0011 to provide compatibility. See issue #8192.
* ENH: Better policies for functions and macrosBrad King2009-01-223-0/+60
| | | | | | | This teaches functions and macros to use policies recorded at creation time when they are invoked. It restores the policies as a weak policy stack entry so that any policies set by a function escape to its caller as before.
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-221-0/+6
| | | | of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
* BUG: Avoid trying to package the X11 test on Windows when there is no NSIS ↵David Cole2009-01-221-3/+5
| | | | installer available.
* BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of ↵David Cole2009-01-212-1/+10
| | | | the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
* BUG: Fix issue #7833: Add file extension handling to CPack generated ↵David Cole2009-01-212-4/+16
| | | | installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
* BUG: Fix for issue #7470. Allow spaces in the path names of installed files ↵David Cole2009-01-202-0/+17
| | | | with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
* ENH: Test find_package re-find featureBrad King2009-01-141-0/+3
| | | | | | | Recently we taught find_package to re-find a package if its <package>_DIR result variable was set to a location not containing the package (instead of reporting an error as before). This tests the feature.
* ENH: Teach ctest_submit about partsBrad King2009-01-121-0/+5
| | | | | This adds a PARTS option to the ctest_submit command which tells it to submit only parts whose names are listed with the option.
* ENH: Re-enable new 'testing' test modeBrad King2009-01-053-22/+36
| | | | | This fixes selection of a configuration when none is specified to find an available configuration of the ctest test-command.
* ENH: make it take longerBill Hoffman2008-12-291-1/+1
|
* ENH: add test for -j N ctest stuffBill Hoffman2008-12-292-0/+21
|
* ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix ↵David Cole2008-12-241-19/+2
| | | | it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step.
* BUG: Workaround for Watcom WMake not handling "always out of date" custom ↵David Cole2008-12-231-0/+19
| | | | commands to fix the failing ExternalProject test on the CMake nightly dashboard.
* BUG: Disable new 'testing' test mode for nowBrad King2008-12-181-5/+7
| | | | | | | | The new 'testing' test behavior of actually running the tests generated by the project still fails when the test script guesses the Debug configuration but the CMake build tree was only built Release. The inner ctest needs to find the ctest executable but is given the wrong configuration.
* BUG: Fix new 'testing' test for CMake releasesBrad King2008-12-182-0/+20
| | | | | | | | The recent change of the 'testing' test to actually drive the tests within it does not work on Windows with released CMakes 2.6.2 and lower if no configuration is given to ctest with a -C option. This works around the problem by detecting the case and changing the empty configuration to Debug.
* BUG: Fix windows command line escape for empty argBrad King2008-12-181-3/+3
| | | | | | On Windows the KWSys System package generates escapes for command-line arguments. This fix enables quoting of the empty string as an argument. This also adds a test to pass an empty argument to a custom command.
* ENH: Improve 'testing' test to actually testBrad King2008-12-183-5/+4
| | | | | | The 'testing' CMake test builds a project that uses add_test. This strengthens the test to actually run CTest on the project build tree after building it.
* ENH: Teach find_package about more install dirsBrad King2008-12-175-1/+23
| | | | | | | | | | | | We now search in <prefix>/<name>*/ <prefix>/<name>*/(cmake|CMake) when looking for package configuration files. This is useful on Windows since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH. These paths are the Windows equivalent to the Apple convention application and framework paths we already search. See issue #8264.
* ENH: Allow most characters in ENV variable refsBrad King2008-12-171-0/+7
| | | | | | The $ENV{VAR} syntax permits access to environment variables. This teaches CMake to recognize most characters in the VAR name since some environments may have variables with non-C-identifier characters.
* ENH: Strengthen FindPackageTest version checkBrad King2008-12-165-3/+14
| | | | | | | | The previous change to test finding in lib/cmake/<name>* weakened the versioned find tests. Since the lib/cmake paths are searched before lib/<name>* paths the previous change skipped requiring the command to ignore zot-3.0 when finding zot-3.1. This change restores that and adds zot-4.0 to test the lib/cmake path.
* BUG: One more conditional in the ExternalProject test to prevent build ↵David Cole2008-12-111-10/+32
| | | | errors of Tutorial Step5 on Win98 using Visual Studio 6 when the path length of its build tree exceeds 72 characters. Crazy, perhaps. But this fixes the last real dashboard failure of the ExternalProject test.
* ENH: remove some verbosity to reduce test timeBill Hoffman2008-12-111-3/+3
|
* BUG: Prevent KWStyle portion of ExternalProject test from configuring, ↵David Cole2008-12-101-20/+35
| | | | building, installing and testing on WATCOM dashboards. WATCOM STL support is still under development.
* ENH: Add useful search locations to find_packageBrad King2008-12-093-2/+2
| | | | | | | | | | This teaches find_package to search <prefix>/(share|lib)/cmake/<name>*/ for package configuration files. Packages that do not already have files in a <prefix>/lib/<name>* directory can use this location to avoid cluttering the lib directory.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-1/+0
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-0/+1
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-1/+0
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-0/+1
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* ENH: Make it easier to use configure/make/make-install as the build steps ↵David Cole2008-12-051-24/+73
| | | | for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors.
* ENH: Use a TryCheckout technique to decide whether or not to attempt ↵David Cole2008-12-042-6/+84
| | | | building the projects that depend on a cvs or svn download method.
* ENH: First draft of add_external_project functionality. Tweaks, dashboard ↵David Cole2008-12-046-0/+214
| | | | fixing, more tests and documentation certain to follow as it gets used by others...
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-263-0/+55
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* ENH: add more debug stuff to CTestCTest2 so I can figure out redwallBill Hoffman2008-11-231-1/+1
|
* ENH: make ctest more verbose so that we can see failure on redwallBill Hoffman2008-11-211-1/+1
|
* ENH: make this test pass if new curl is onBill Hoffman2008-11-213-3/+3
|
* ENH: only link in curl directories that exist, this will help with vs6 nmakeBill Hoffman2008-11-203-9/+18
|
* ENH: make it work if new curl is onBill Hoffman2008-11-193-12/+9
|
* ENH: make it work if new curl is onBill Hoffman2008-11-183-3/+15
|
* ENH: add gfortran-4Bill Hoffman2008-11-181-1/+1
|
* ENH: fix gcc sun fortran mixBill Hoffman2008-11-111-2/+5
|
* ENH: put a check in for the gnu sunpro caseBill Hoffman2008-11-101-0/+5
|
* ENH: make the test pass when fortran is gnu and c is clBill Hoffman2008-11-061-34/+44
|
* ENH: add a way to fix bullseye link with fortranBill Hoffman2008-11-061-0/+5
|
* ENH: only call the fortran c interface test when compilers matchBill Hoffman2008-11-051-47/+63
|