summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* ENH: only allow matching fortran a c compilers to be usedBill Hoffman2008-11-031-2/+11
|
* ENH: do not error when sunpro or mipspro fortran usedBill Hoffman2008-10-311-1/+1
|
* ENH: do not error when sunpro or mipspro fortran usedBill Hoffman2008-10-311-2/+13
|
* ENH: add some debug stuff for the dashboardsBill Hoffman2008-10-301-0/+28
|
* ENH: Use settings for CPackComponents test to make it fail if the recent fix ↵David Cole2008-10-292-1/+31
| | | | of cmCPackGenerator.cxx revision 1.16 ever encounters another regression.
* ENH: add test for FortranCInterfaceBill Hoffman2008-10-294-1/+40
|
* ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for ↵David Cole2008-10-241-8/+4
| | | | finishing it off.
* ENH: Enable cvs update test with CMake before 2.6Brad King2008-10-191-1/+6
| | | | | | When CMake is built by CMake 2.4 or lower the FindCVS module is not available. In that case we activiate CTest.UpdateCVS by searching for the cvs command directly.
* ENH: Test CTest update logic with VCS toolsBrad King2008-10-194-0/+440
| | | | | | This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS". They test that the Update.xml produced by CTest for a version-controlled project contains entries for files added, changed, and removed.
* ENH: fix test to work with in-source testing of CMakeBill Hoffman2008-10-181-0/+6
|
* ENH: run the right cmakeBill Hoffman2008-10-151-1/+1
|
* ENH: run the right cmakeBill Hoffman2008-10-151-2/+4
|
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-152-0/+57
| | | | by CMake
* ENH: Allow custom sources in custom targetsBrad King2008-10-091-0/+1
| | | | | | | This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users to specify extra sources for inclusion in the target. Such sources may not build, but will show up in the IDE project files for convenient editing. See issue #5848.
* ENH: Remove implicit NO_MODULE when recursingBrad King2008-10-081-1/+1
| | | | | | | | | Recently we taught find_package that the NO_MODULE option is implied when it is recursively invoked in a find-module. This behavior may be confusing because two identical calls may enter different modes depending on context. It also disallows the possibility that one find-module defers to another find-module by changing CMAKE_MODULE_PATH and recursively invoking find_package. This change reverts the feature.
* ENH: Add UNSUITABLE result to package version testBrad King2008-10-032-0/+12
| | | | | | | Package version test files may now declare that they are unsuitable for use with the project testing them. This is important when the version being tested does not provide a compatible ABI with the project target environment.
* ENH: Help recursive find_package calls in modulesBrad King2008-10-035-0/+13
| | | | | | | These changes teach find_package to behave nicely when invoked recursively inside a find-module for the same package. The module will never be recursively loaded again. Version arguments are automatically forwarded.
* ENH: Create $CACHE{VAR} syntaxBrad King2008-09-251-0/+14
| | | | | This syntax allows reading of cache entries even when variables of the same name have been defined in the local scope. See issue #7715.
* ENH: Add version comparison to if() commandBrad King2008-09-101-0/+17
| | | | | | Provide VERSION_LESS, VERSION_EQUAL, and VERSION_GREATER operators in the if() command. This simplifies component-wise comparison of version numbers in the form "major[.minor[.patch[.tweak]]]".
* ENH: Improve find_package version numberingBrad King2008-09-105-9/+46
| | | | | | | | Make the number of version components specified explicitly available. Set variables for unspecified version components to "0" instead of leaving them unset. This simplifies version number handling for find- and config-modules. Also support a fourth "tweak" version component since some packages use them.
* PERF: Test takes too long when recursing for executable files and when doing ↵David Cole2008-09-091-1/+1
| | | | recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis.
* BUG: fix test to work with new restrictions that cross compiling must be onBill Hoffman2008-09-091-1/+3
|
* ENH: Add BundleUtilities.cmake and supporting changes to ↵David Cole2008-09-061-1/+1
| | | | GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.