summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Put custom commands in topological order for VS 10Brad King2009-09-071-9/+0
| | | | | | | | | | | | | | | | Visual Studio 10 uses MSBuild to drive the build. Custom commands appear in MSBuild files inside CustomBuild elements, which appear inside ItemGroup elements. The Outputs and AdditionalInputs elements of each CustomBuild element are evaluated according to timestamps on disk. MSBuild does not use inputs/outputs to order CustomBuild steps within a single ItemGroup or across multiple ItemGroup elements. Instead we must put only unrelated CustomBuild elements in a single ItemGroup and order the item groups from top to bottom using a topological order of the custom command dependency graph. This fixes CustomCommand and ExternalProject test failures, so we remove the expectation of these failures.
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-281-0/+3
| | | | coming soon...
* Remove WXDialog source codeBrad King2009-08-051-16/+0
| | | | | The QtDialog is our supported cross-platform GUI, so the WXDialog source is no longer needed.
* BUG: One last attempt for today to get the new CheckSourceTree test running ↵David Cole2009-07-241-4/+6
| | | | on dashboards driven by CMake 2.4... Good night now.
* BUG: Close endif statements with same string as if so that it still ↵David Cole2009-07-241-6/+9
| | | | configures with CMake 2.4 -- also check for existence of FindCVS.cmake before doing find_package(CVS QUIET) also for CMake 2.4 sake...
* BUG: Oops. Left chunk of junk at the bottom of the main Tests CMakeLists.txt ↵David Cole2009-07-241-6/+0
| | | | file with the last commit... Sorry.
* BUG: Additional fix necessary for issue #8481 so that Xcode builds do not ↵David Cole2009-07-241-6/+27
| | | | write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
* ENH: set expected failure for testsBill Hoffman2009-07-201-0/+9
|
* BUG: disable the test for now, will make it work correctly laterAlexander Neundorf2009-07-121-3/+3
| | | | Alex
* STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly fromAlexander Neundorf2009-07-121-0/+7
| | | | | | | | cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake -> that makes it more flexible, also add a simple test that the system name has been determined correctly Alex
* ENH: Test transitive link languagesBrad King2009-07-101-0/+1
| | | | | | This test creates a C executable that links to a C++ static library. On most platforms the executable will not link unless the C++ linker is chosen correctly.
* ENH: Teach CTest to handle Mercurial repositoriesBrad King2009-07-101-0/+18
| | | | | | | | | | | This creates cmCTestHG to drive CTest Update handling on hg-based work trees. Currently we always update to the head of the remote tracking branch (hg pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #7879. Patch from Emmanuel Christophe. I modified the patch slightly for code style, to finish up some parsing details, and to fix the test.
* BUG: Skip CTest.Update* for cygwin tools on WindowsBrad King2009-07-011-2/+14
| | | | | These tests cannot run with cygwin tools unless testing cygwin CTest. The version control tools do not understand all Windows paths.
* BUG: Fix CTest.UpdateBZR tests to run in parallelBrad King2009-06-251-1/+5
| | | | | The UpdateBZR and UpdateBZR.CLocale tests should run in different directories so that they can be executed in parallel.
* BUG: Extend timeout of ExternalProject testBrad King2009-06-241-0/+5
| | | | | | | This test requires a long time on slower machines, so we need to extend its timeout. It is an important test, so it does not fall under the CMAKE_RUN_LONG_TESTS option. In the future we should try to shorten the test by building simpler external projects.
* ENH: Auto-enable CTest.UpdateCVS test on WindowsBrad King2009-06-221-19/+14
| | | | | | | | | | | The test needs to create a cvs repository with 'cvs init', but the CVSNT client on Windows needs 'cvs init -n' to avoid administrator access. Previously we required users to explicitly enable CTEST_TEST_UPDATE_CVS to activate the test on Windows. This teaches the test to use the '-n' option when necessary. Now we can enable the test in all cases except when trying to use a cygwin cvs.exe without cygwin paths.
* BUG: Parse more bzr xml output encodingsBrad King2009-05-181-0/+4
| | | | | | | The BZR xml output plugin can use some encodings that are not recognized by expat, which leads to "Error parsing bzr log xml: unknown encoding". This works around the problem by giving expat a mapping, and adds a test. Patch from Tom Vercauteren. See issue #6857.
* ENH: Teach CTest to handle Bazaar repositoriesBrad King2009-05-141-0/+18
| | | | | | | | This creates cmCTestBZR to drive CTest Update handling on bzr-based work trees. Currently we always update to the head of the remote tracking branch (bzr pull), so the nightly start time is ignored for Nightly builds. A later change will address this. Patch from Tom Vercauteren. See issue #6857.
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-221-0/+13
| | | | | | | This creates cmCTestGIT to drive CTest Update handling on git-based work trees. Currently we always update to the head of the remote tracking branch (git pull), so the nightly start time is ignored for Nightly builds. A later change will address this. See issue #6994.
* ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION ↵Bill Hoffman2009-01-271-1/+1
| | | | is auto-defined now
* ENH: Better policies for functions and macrosBrad King2009-01-221-0/+1
| | | | | | | 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 #7833: Add file extension handling to CPack generated ↵David Cole2009-01-211-1/+8
| | | | 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.
* ENH: Re-enable new 'testing' test modeBrad King2009-01-051-7/+7
| | | | | This fixes selection of a configuration when none is specified to find an available configuration of the ctest test-command.
* 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-181-0/+5
| | | | | | | | 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.
* ENH: Improve 'testing' test to actually testBrad King2008-12-181-3/+2
| | | | | | 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: remove some verbosity to reduce test timeBill Hoffman2008-12-111-3/+3
|
* ENH: First draft of add_external_project functionality. Tweaks, dashboard ↵David Cole2008-12-041-0/+13
| | | | 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-261-0/+13
| | | | 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: add gfortran-4Bill Hoffman2008-11-181-1/+1
|
* ENH: Use settings for CPackComponents test to make it fail if the recent fix ↵David Cole2008-10-291-0/+3
| | | | of cmCPackGenerator.cxx revision 1.16 ever encounters another regression.
* 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-191-0/+51
| | | | | | 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.
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-151-0/+6
| | | | by CMake
* ENH: Add unset() command.Brad King2008-08-251-0/+1
| | | | | | | | This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
* ENH: Add test_clean target to wipe out testsBrad King2008-08-191-0/+58
| | | | | | We frequently need to wipe out all the CMake test build directories in order to run tests from scratch. This change adds a test_clean custom target to remove all these directories for out-of-source builds.
* BUG: fix endif()Alexander Neundorf2008-08-061-1/+1
| | | | Alex
* ENH: add simple tests to test that the extra generators don't crashAlexander Neundorf2008-08-061-0/+49
| | | | Alex
* ENH: fix build with Xcode project was missingBill Hoffman2008-07-311-1/+2
|
* ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the ↵David Cole2008-07-301-0/+13
| | | | patch. See issue #7170 for more details.
* ENH: add get_test_property to bootstrap so bootstrap builds test the same as ↵Bill Hoffman2008-07-071-10/+0
| | | | non-bootstrap builds
* BUG: Replace non-bootstrap command with macroBrad King2008-07-031-0/+9
| | | | | - The GET_TEST_PROPERTY command does not exist during bootstrap. - Instead of lots of conditionals, replace it with a macro.
* ENH: Remove condition on use of CMake 2.4 commandsBrad King2008-07-031-39/+30
| | | | | | - Commands SET_TESTS_PROPERTIES and GET_TEST_PROPERTY exist in CMake 2.4, which is now required. - Therefore we need not check before using them.
* COMP: Don't set properties on a non-existing testBrad King2008-07-031-1/+1
| | | | | - Test SubProject-Stage2 is conditionally created. - Set properties on it only if it exists.
* ENH: add initial ctest -j featureBill Hoffman2008-07-031-0/+9
|
* BUG: Avoid running the new CPackComponents test on Windows unless the NSIS ↵David Cole2008-06-191-2/+22
| | | | installer is available.