summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'dev/test-for-bug-11230'Brad King2010-10-054-0/+9
|\ | | | | | | | | | | | | 96a335f XCode generation should fail if lang isn't known d3a8943 Fix which string is checked for in the test 220c5dc Add test that CMake errors with empty libs
| * Fix which string is checked for in the testBen Boeckel2010-09-301-1/+1
| | | | | | | | GNU Makefiles have an extra line that Visual Studio doesn't output.
| * Add test that CMake errors with empty libsBen Boeckel2010-09-304-0/+9
| | | | | | | | | | When the library language cannot be determined, make sure CMake errors, not segfaults (bug #11230)
* | Add a new line to the end of the generated main.cxx for the hpux compiler.Bill Hoffman2010-09-291-1/+2
|/ | | | Some HPUX compilers give this error: Error 690: "/home/cport/Dashboards/My Tests/CMake-build/Tests/CheckCompilerRelatedVariables/main.cxx", line 1 # Nonempty source files must end with a newline that is not preceded by a backslash.
* Merge topic 'fix-9963'Brad King2010-09-211-6/+18
|\ | | | | | | | | | | | | | | a798bb7 Avoid CustomCommand test failure on VS71 (#9963) 9b4ab06 Avoid CustomCommand test failure on VS71 (#9963) 9d2e648 No extra spaces in CustomCommand test (#9963) 269a4b8 Enable calling commands with : in argv[1] (#9963)
| * Avoid CustomCommand test failure on VS71 (#9963)David Cole2010-09-201-1/+5
| | | | | | | | | | | | | | Test still failing on dash1.kitware. Give up on testing the new arg on MSVC71. Test it with newer nmakes instead. All other dashboards are fine with -DPATH=c:/posix/path as the first arg, so keep it except when MSVC71 is true.
| * Avoid CustomCommand test failure on VS71 (#9963)David Cole2010-09-141-2/+0
| | | | | | | | | | | | | | | | | | | | The new first arg in the test is the critical one to prove that the new NMake specific code works. The additional colons in the middle of the arg stream work fine everywhere else, but not on dash1.kitware with Visual Studio 7.1. Just avoid the failure for now by removing the unnecessary new args from the test.
| * No extra spaces in CustomCommand test (#9963)David Cole2010-09-122-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nightly dashboard showed that the following platforms had difficulties dealing with "bin dir" and/or "check command line" as directory and file names: AIX Borland 5.5, 5.6 and 5.8 IRIX NMake 6.0 OpenBSD VS 7.1 Watcom Re-visit later, after the release, to use spaces in the bin dir and in the target name where possible.
| * Enable calling commands with : in argv[1] (#9963)David Cole2010-09-102-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The solution seems hackish, but it works: for NMake only, prepend a no-op command before each real command that begins with ". This is really a work-around for an NMake problem. When a command begins with ", nmake truncates the first argument to the command after the first : in that arg. It has a parsing problem. Workaround..., hackish..., but it should solve the issue for #9963 and its related friends. Also, modify the CustomCommand test to replicate the problem reported in issue #9963. Before the NMake specific code change, the test failed. Now, it passes. Ahhhhhh.
* | 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.