summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Add contract test for Trilinos 10.6.1 snapshot.David Cole2010-11-095-0/+198
|
* Update tag in the Contracts/cse-snapshot test.David Cole2010-10-281-2/+16
| | | | | | | | Also: - allow local variables 'repo' and 'tag' to be overridden by the optional LocalOverrides.cmake - print out STATUS messages to see the variable values in CMake configure output
* Enable overriding contract test timeout values.David Cole2010-10-221-2/+11
| | | | | | | | | | | | | | | | Use a longer value as the default timeout (6 hours). For a per-contract-test timeout value, set ${project}_TEST_TIMEOUT in the project's RunTest.cmake file. To use a longer value for all non-specific contract tests, set a CMake cache variable named CMAKE_CONTRACT_TEST_TIMEOUT_DEFAULT. All timeout values are in seconds. Also, patch up last commit to defer evaluation of ENV{HOME} until EnforceConfig.cmake is included at ctest time. This allows Windows machines to have "\\" characters in the HOME environment variable if they want to.
* Add a contract test for building the CSE.David Cole2010-10-084-1/+184
| | | | | | | | | | | | | | | | | | | To activate the CSE contract test on a given Linux machine's CMake dashboard, put CMAKE_CONTRACT_PROJECTS:STRING=cse-snapshot in the CMake dashboard's initial cache. The chosen snapshot does not generate subproject dependency info right now. That code was in a previous revision in the CSE's svn repo that apparently has not been merged into the present cse git repository master branch. After that is fixed up in the cse repo, we can update the tag here so that the snapshot built here can run a sub-project based dashboard script. For now, it runs as one big build step, building 'all'.
* Fix contract test so it is not hard coded to the vtk542 test.Bill Hoffman2010-09-212-1/+10
|
* Add a "Contract" test for VTK. The test downloads and builds VTK.Bill Hoffman2010-09-212-1/+40
| | | | | | | | The idea is that we can make sure that CMake is staying backwards compatible by testing projects against CMake as the changes are made in CMake. Because these tests will take a long time to run, they will not be enabled by default. Instead, they will be enabled by putting a cache variable into CMake.
* Merge topic ↵Brad King2010-09-142-2/+10
|\ | | | | | | | | | | | | | | | | | | 'resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others' eccc7d5 Merge branch 'allow_upper_case_cpp_and_others' into resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others ed37fc3 VS2010: Set IntDir for utility and global targets. e79e412 VS2010: Honor PROJECT_LABEL target property (#10611) 530ade6 Fix targets with . in the name for VS 10 IDE.
| * Merge branch 'allow_upper_case_cpp_and_others' into ↵Brad King2010-09-142-1/+8
| |\ | | | | | | | | | | | | | | | | | | resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others Conflicts: Tests/CxxOnly/CMakeLists.txt
| * | VS2010: Honor PROJECT_LABEL target property (#10611)David Cole2010-09-091-0/+8
| | |
| * | Fix targets with . in the name for VS 10 IDE.Bill Hoffman2010-09-061-2/+2
| | |
* | | Merge topic 'improve-missing-source-file-error'Brad King2010-09-142-0/+6
|\ \ \ | | | | | | | | | | | | | | | | a6b5ead Report missing source files with context of target
| * | | Report missing source files with context of targetBrad King2010-09-132-0/+6
| | | | | | | | | | | | | | | | | | | | Previously we reported only the CMakeLists.txt file in the directory that adds the target.
* | | | Use QUIET to avoid Java status messages.David Cole2010-09-091-1/+1
|/ / / | | | | | | | | | CMake devs mostly do not care when Java is found successfully.
* | | Merge topic 'allow_upper_case_cpp_and_others'Brad King2010-09-083-1/+11
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 7944e4e Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work. ba0a890 Only test for .CPP on Microsoft compilers which will handle .CPP as c++. d26cd46 Only use .CPP .CXX and .C++ do not work by default with g+++. ced61f5 Let CMake recognize .CPP .CXX and .C++ as c++ files.
| * | Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work.Bill Hoffman2010-09-071-1/+1
| | |
| * | Only test for .CPP on Microsoft compilers which will handle .CPP as c++.Bill Hoffman2010-09-062-1/+8
| |/
| * Only use .CPP .CXX and .C++ do not work by default with g+++.Bill Hoffman2010-09-024-6/+2
| |
| * Let CMake recognize .CPP .CXX and .C++ as c++ files.Bill Hoffman2010-09-025-1/+8
| |
* | Merge topic 'vs-project-groups'Brad King2010-09-081-0/+45
|\ \ | | | | | | | | | | | | e6ac0aa Add FOLDER target property, for IDEs (#3796)
| * | Add FOLDER target property, for IDEs (#3796)David Cole2010-09-031-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work was started from a patch by Thomas Schiffer. Thanks, Thomas! See the newly added documentation of the FOLDER target property for details. Also added global properties, USE_FOLDERS and PREDEFINED_TARGETS_FOLDER. See new docs here, too. By default, the FOLDER target property is used to organize targets into folders in IDEs that have support for such organization. This commit adds "solution folder" support to the Visual Studio generators. Currently works with versions 7 through 10. Also, use the new FOLDER property in the ExternalProject test and in the CMake project itself.
* | | Merge topic 'ctest-show-labels'Brad King2010-09-081-0/+5
|\ \ \ | |_|/ |/| | | | | | | | 32242af Added CTest command --print-labels
| * | Added CTest command --print-labelsZach Mullen2010-08-311-0/+5
| | | | | | | | | | | | | | | | | | This command allows a user to quickly see the list of all available test labels. The labels are also printed in verbose show only mode, alongside their corresponding tests.
* | | Merge topic 'intra-component-dependencies'Brad King2010-08-312-0/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | adb58d5 Honor strong intra-component target dependencies 681cf01 Distinguish "strong" and "weak" target dependency edges 7be2617 Split notion of node lists and edge lists
| * | Honor strong intra-component target dependenciesBrad King2010-08-252-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Strong dependencies (created by add_dependencies) must be honored when linearizing a strongly-connected component of the target dependency graph. The initial graph edges have strong/weak labels and can contain cycles that do not consist exclusively of strong edges. The final graph never contains cycles so all edges can be strong.
* | | Add STEP_TARGETS to ExternalProject module.David Cole2010-08-231-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the ability to add custom targets that correspond to individual ExternalProject steps. The main motivation behind this new feature is to drive sub-project based dashboard steps as external projects with separate targets for update, configure, build and test output. This makes it easy to construct a ctest -S script to drive such a dashboard. With no STEP_TARGETS defined, there are no additional custom targets introduced, to minimize the chatter in the target name space. Clients may define STEP_TARGETS on a per-ExternalProject_Add basis, or at the directory level by setting the EP_STEP_TARGETS directory property.
* | Merge topic 'module-notices'Brad King2010-08-191-1/+1
|\ \ | | | | | | | | | | | | c088e7a ModuleNoticesTest: Do not require "Kitware" copyright
| * | ModuleNoticesTest: Do not require "Kitware" copyrightBrad King2010-08-171-1/+1
| | | | | | | | | | | | | | | | | | When a module is first contributed Kitware has made no modifications on which to place a copyright. Require the contributor to have a copyright notice, but not specifically by Kitware.
* | | Teach find_* commands to ignore some pathsTodd Gamblin2010-08-133-0/+10
|/ / | | | | | | | | | | | | | | Add platform configuration variable CMAKE_SYSTEM_IGNORE_PATH and user configuration variable CMAKE_IGNORE_PATH. These specify a set of directories that will be ignored by all the find commands. Update FindPackageTest so that several cases will fail without a functioning CMAKE_IGNORE_PATH.
* | Merge topic 'remove_submit_large_output'Brad King2010-08-105-102/+0
|\ \ | | | | | | | | | | | | 929b1c6 Remove the ctest submit larget output test.
| * | Remove the ctest submit larget output test.Bill Hoffman2010-08-095-102/+0
| | | | | | | | | | | | | | | This test is better covered in CDash now. It is always failing due to changes in CDash. So, it is better removed from CMake.
* | | Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-092-2/+2
|/ /
* | Merge topic 'fix-CTestTestFailedSubmit-xmlrpc'Brad King2010-08-031-0/+1
|\ \ | | | | | | | | | | | | fbe67a9 CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem"
| * | CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem"Modestas Vainius2010-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the test when there is "Submission problem" in the output. This is at least applicable to XMLRPC. Full error message is below: ------ Submission problem: Curl failed to perform HTTP POST request. curl_easy_perform() says: <url> malformed (-504) . Problems when submitting via XML-RPC ------
* | | Merge topic 'fix-cmake-self-references'Brad King2010-08-032-7/+7
|\ \ \ | | | | | | | | | | | | | | | | df1e00f Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)
| * | | Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)Brad King2010-07-292-7/+7
| |/ / | | | | | | | | | | | | This is good practice, and is necessary to support building CMake as a subdirectory of another project.
* | | Merge topic 'ctest-git-flexibility'Brad King2010-08-031-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | a7319cf ctest_update: Run 'git submodule' at top level 7bf8dc1 ctest_update: Support ".git file" work trees 65cb72f ctest_update: Abort if Git FETCH_HEAD has no candidates
| * | ctest_update: Support ".git file" work treesBrad King2010-07-261-0/+5
| | | | | | | | | | | | | | | | | | | | | Commit c3781efb (Support Git upstream branch rewrites, 2010-06-08) assumed that ".git/FETCH_HEAD" exists inside the source tree. Fix the implementation to handle a work tree using a ".git file" to link to its repository. Use "git rev-parse --git-dir" to locate the real .git dir.
* | | Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * \ \ Merge CPackRPM changes into doc-spellingBrad King2010-07-131-6/+57
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: Modules/CPackRPM.cmake
| * | | | Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | | | Merge topic 'resolve/ctest-file-checksum/remove-CTestTest3'Brad King2010-07-132-0/+39
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38c762c Merge 'remove-CTestTest3' into ctest-file-checksum 46df0b4 Activate retry code on any curl submit failure. 8705497 Checksum test should use CMAKE_TESTS_CDASH_SERVER d0d1cdd Mock checksum failure output for old CDash versions af5ef0c Testing for CTest checksum 86e81b5 CTest should resubmit in the checksum failed case d6b7107 Fix subscript out of range crash 082c87e Cross-platform fixes for checksum/retry code e525649 Checksums on CTest submit files, and retry timed out submissions.
| * \ \ \ Merge 'remove-CTestTest3' into ctest-file-checksumBrad King2010-07-1317-72/+454
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * | | | | Checksum test should use CMAKE_TESTS_CDASH_SERVERZach Mullen2010-06-221-0/+5
| | | | | |
| * | | | | Testing for CTest checksumZach Mullen2010-06-103-1/+35
| | | | | |
| * | | | | Checksums on CTest submit files, and retry timed out submissions.Zach Mullen2010-06-031-1/+1
| | | | | |
* | | | | | Merge topic 'external-project-launcher'Brad King2010-07-131-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2634b6 Detect CMake warnings and errors in build output. 012c986 ExternalProject: Add LOG_* options to hide step output
| * | | | | | ExternalProject: Add LOG_* options to hide step outputBrad King2010-06-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optionally hide the output of each external project build step by wrapping its command in a launcher script. Make output available in log files instead. This simplifies the output of external project builds.
* | | | | | | Add another expected output for the failed submit tests.David Cole2010-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CTestTestFailedSubmit-http test was failing on the hut11 Experimental dashboards with "Empty reply from server" due to a localhost settings change.
* | | | | | | Fix cycle detection for test dependenciesZach Mullen2010-06-309-1/+116
| |_|_|_|/ / |/| | | | |
* | | | | | CheckSourceTree test: read UpdateCommand from Update.xml.David Cole2010-06-271-6/+57
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If GIT_EXECUTABLE is not passed in, and is not available from DartConfiguration.tcl or CTestConfiguration.ini, then make one more last ditch attempt to get it from Update.xml, if there is an Update.xml. For dashboards that have successfully done a ctest_update call, there should be an Update.xml in the Testing subdir of the binary tree. Parse that file for the git executable recorded in the <UpdateCommand> element. And make this test pass on those RogueResearch dashboard machines!