summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-11286-add-file-upload'Brad King2011-03-014-1/+72
|\ | | | | | | | | | | 61a83f9 Fix KWStyle line too long error (#11286) 963bebc Implement file(UPLOAD (#11286)
| * Implement file(UPLOAD (#11286)David Cole2011-02-254-1/+72
| | | | | | | | Including documentation and testing, of course.
* | Merge topic 'CPack-ChangeComponentNamingScheme'Brad King2011-03-011-11/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | 3fb89cf CPack remove previously CPack generated files (if any) before running CPack f2ab270 CPack fix KWStyle warning 4deb308 CPack Authorize DISPLAY_NAME usage in component package 8c450f6 CPack remove "-ALL" suffix for ALL-IN-ONE packages
| * | CPack remove previously CPack generated files (if any) before running CPackEric NOULARD2011-02-231-11/+20
| |/
* | Merge topic 'mingw-module-definition'Brad King2011-02-243-1/+14
|\ \ | |/ |/| | | | | | | 6c4b249 Fix Fortran test .def file symbol mangling 7616216 Pass .def files directly to MinGW tools (#9997)
| * Fix Fortran test .def file symbol manglingBrad King2011-02-233-1/+14
| | | | | | | | | | | | | | | | | | Commit 6a61a8a5 (Honor module .def files with MinGW tools, 2011-02-21) enabled use of .def files with GNU tools on Windows. Previously the Fortran tests's world.def file was used only for the Intel Fortran Compiler on Windows and contained the symbol name mangled for that compiler. Instead choose a .def file that names the symbol with proper mangling for the compiler in use.
* | Merge topic 'mingw-module-definition'Brad King2011-02-221-1/+4
|\ \ | |/ | | | | | | 6a61a8a Honor module .def files with MinGW tools (#9997)
| * Honor module .def files with MinGW tools (#9997)Brad King2011-02-211-1/+4
| | | | | | | | | | | | | | | | | | Since commit 024d05ad (Fix use of module .def files for MS tools, 2009-09-29) module .def files work for any platform that sets CMAKE_LINK_DEF_FILE_FLAG correctly. Set it in the Windows-GNU platform information file to enable support with MinGW tools. Also enable the test added by commit 0db2c850 (Test use of module .def files for MS tools, 2009-09-29) for MinGW and MSYS generators.
* | Merge topic ↵Brad King2011-02-222-1/+78
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 'resolve/add-STRING-subcommand-FIND-issue-11795/fix-2828-more-info-in-script-mode' 1a8eed1 Merge branch 'add-STRING-subcommand-FIND-issue-11795' into fix-2828-more-info-in-script-mode 006124b Avoid direct use of std::stringstream 8a8da36 Merge branch 'fix-2828-more-info-in-script-mode' into add-STRING-subcommand-FIND-issue-11795 1462561 Add a string(FIND) sub-command (#11795)
| * \ Merge branch 'fix-2828-more-info-in-script-mode' into ↵Brad King2011-02-151-0/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | add-STRING-subcommand-FIND-issue-11795 Conflicts: Tests/CMakeTests/StringTestScript.cmake
| * | | Add a string(FIND) sub-command (#11795)Tim Hütz2011-02-152-1/+78
| | |/ | |/|
* | | Merge topic 'fix-2828-more-info-in-script-mode'Brad King2011-02-221-0/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | a58ace6 Fix KWStyle line-too-long complaint (#2828) 106958c Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828) 94d1684 Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
| * | Add CMAKE_SCRIPT_MODE_FILE variable (#2828)David Cole2011-02-021-0/+2
| | | | | | | | | | | | | | | New CMake variable is set when processing a -P script file, but not when configuring a project.
* | | Merge topic 'fix-11761-less-file-download-noise'Brad King2011-02-221-0/+2
|\ \ \ | | | | | | | | | | | | | | | | 667cf5b Make file DOWNLOAD less noisy (#11761)
| * | | Make file DOWNLOAD less noisy (#11761)David Cole2011-02-091-0/+2
| | |/ | |/| | | | | | | Thanks to Daniel Nelson for the suggestion and the patch.
* | | Merge topic 'custom-command-slashes'Brad King2011-02-221-2/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | 88548a4 Handle relative WORKING_DIRECTORY in add_custom_(command|target) 7befc00 Handle trailing slashes on add_custom_command DEPENDS
| * | | Handle relative WORKING_DIRECTORY in add_custom_(command|target)Brad King2011-01-261-2/+9
| | | | | | | | | | | | | | | | This also fixes handling of trailing slashes in the directory name.
| * | | Handle trailing slashes on add_custom_command DEPENDSBrad King2011-01-261-2/+12
| | | |
* | | | Merge topic 'fix-11295-support-plugin-bundles-on-mac'Brad King2011-02-2211-0/+268
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | cabc407 CFBundle Test: Add PATHS for finding Rez (#11295) 5457b82 Add support for CFBundle targets on the Mac (#11295)
| * | | | CFBundle Test: Add PATHS for finding Rez (#11295)David Cole2011-01-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some older dashboard machines do not have Rez in /usr/bin like us modern folk. But most of them will have it in /Developer/Tools... So make sure we look there.
| * | | | Add support for CFBundle targets on the Mac (#11295)Richard Bateman2011-01-1111-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | | This commit enables building, for example, plugin bundles to be loaded by web browsers.
* | | | | Merge topic 'fix-11526-mac-remove-carbon-refs'Brad King2011-02-223-11/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0037dcb Removed most usage of Carbon in favour of CoreFoundation
| * | | | | Removed most usage of Carbon in favour of CoreFoundationSean McBride2011-01-313-11/+11
| | |_|_|/ | |/| | |
* | | | | Merge topic 'eliminate-unnecessary-test-isms'Brad King2011-02-2217-169/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a6a21c8 Tests: Eliminate unnecessary files and variables.
| * | | | | Tests: Eliminate unnecessary files and variables.David Cole2011-01-2817-169/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1: The CTestTestFailedSubmits tests do not need to run the CTEST_MEMCHECK command. It is covered by the CTestTest2 test. If more coverage *is* required, choose a test that runs by itself once to add it to... This one gets used several times in a loop to test submission failure via the various submission protocols. With memchecking on, each test here takes 1000 seconds or more on a "fast" build... 2: Other ctest tests do not need any of the CTEST_MEMORYCHECK_* variables defined. They don't even call CTEST_MEMCHECK, or -D NightlyMemCheck, or anything. So: remove the unnecessary set calls. 3: CTestTest3 has gone intentionally unused for months because it did not add any coverage and caused no ends of sporadic randomish failures when network connectivity was spotty. Remove its directory. Never add it again.
* | | | | | Merge topic 'increase-ep-test-timeout'Brad King2011-02-221-5/+2
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | 42b26ee ExternalProject Test: Increase test timeout value
| * | | | | ExternalProject Test: Increase test timeout valueDavid Cole2011-01-111-5/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it was hard-coded at 1000 seconds. Now it uses the value of CMAKE_LONG_TEST_TIMEOUT, which has a minimum value of 1500 seconds, but might have a longer value depending on the CTEST_TEST_TIMEOUT value of the driving dashboard. This should help avoid test failures on overloaded dashboard machines where it really does take that long to finish the test successfully.
* | | | | Avoid foreach IN LISTS syntax which is not supported by CMake 2.6Eric NOULARD2011-01-311-2/+2
| | | | |
* | | | | CPack Tests the different ways of packaging componentsEric NOULARD2011-01-308-36/+123
| |_|/ / |/| | |
* | | | Merge topic 'fix-11695-spaces-in-vs10-rc-defs'Brad King2011-01-284-13/+125
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 008d116 VSResource: Avoid windres /D with quoted spaces (#11695) 8f9919d Avoid space in rc /D values for VS6 and Cygwin (#11695) 78fe97f Fix line too long KWStyle issue (#11695) 6627560 VS10: Escape double quote chars in defines for rc files (#11695)
| * | | | VSResource: Avoid windres /D with quoted spaces (#11695)David Cole2011-01-274-13/+109
| | | | | | | | | | | | | | | | | | | | Improve test: print out what's happening along the way.
| * | | | Avoid space in rc /D values for VS6 and Cygwin (#11695)David Cole2011-01-261-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Change to the test only. Using a space in an rc /D value will not work at present with VS6 or Cygwin rc compilers.
| * | | | VS10: Escape double quote chars in defines for rc files (#11695)David Cole2011-01-262-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To get rc defines to work in the VS10 IDE requires \" when constructing PreprocessorDefinitions strings. This is different than defines for cl. Also, per-file rc defines were not being generated. Fix that, too.
* | | | | Merge topic 'avoid-purify-in-CTestTest2'Brad King2011-01-281-7/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2b082aa CTestTest2: Avoid running purify unless requested
| * | | | | CTestTest2: Avoid running purify unless requestedDavid Cole2011-01-271-7/+6
| | | | | |
* | | | | | Merge topic 'MakeCMakeBuildWithCMakeLess263'Brad King2011-01-281-2/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | ccbdc24 Make cmake build again with cmake < 2.6.3
| * | | | | Make cmake build again with cmake < 2.6.3Alex Neundorf2011-01-261-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmake_minimum_required() still says 2.4.5, but in Tests/CMakeLists.txt there was a parenthesis expression, which is new since 2.6.3. Alex
* | | | | Merge topic 'dev/strict-mode'Brad King2011-01-275-0/+157
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd2f814 Merge branch 'dev/add_test-working-directory' into dev/strict-mode 949d32c Unwatch manual variables upon removal in cmake-gui 3939032 Unwatch manual variables upon removal in ccmake 8354413 Add method to unwatch a manual variable 8ed3c85 Give a better message for unused variables 729db48 Fix ArgumentExpansion test expected results 89c2544 Checking for a definition is a usage 5625dee Don't output to stderr in the GUI ad25a96 Merge branch 'ImprovedDotSupport2' into dev/strict-mode c128abe Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-mode 9bcaff0 Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-mode 544d0c3 Fix expected output for WarnUninitialized test 4e3bea4 Update expected messages to new format 8e8c9e4 Don't check at destruction for usage 668e005 Use cmake::IssueMessage for warnings 88cd4c1 Use 'CMake Warning' versus 'warning' for CDash 3c3b98d Initialize the class before setting warn flags cf8b15a Ignore files under the CMakeFiles directory fd50f06 Don't check for unused vars at configure time 447a04c Don't warn during configure when doing everything b97ee21 Check for unused variables at the end of generate c18c977 When checking for variables, specify a reason 3f1121f Use a long int since Line is a long as well 2507f93 Change the failure case string to 'Unexpected' fe390a2 Add 'ArgumentExpansion' test 8dbb209 Wrong boolean value for CLI warnings d4ee998 Hard-code the --no-warn-unused-cli flag a267b99 Fix line lengths 82ed104 Flag that the directories have been set 5aa535b Add argument to arg parsing to not set directories 367e5c3 Revert "Revert "When calling CMake, set the args and the cache"" ab5d4e4 Revert "When calling CMake, set the args and the cache" 9b90040 When calling CMake, set the args and the cache fe56002 Fix long lines for KWStyle 5d30cfc Set a watch on variables added through the gui 33c63b1 Add a method to put a watch for variables 535253f Initialize the warning variables earlier cbb286c Fix the path detection to work for top-level 62be1f7 Initialize the usage stack earlier c6e7fab Factor out the checks for unused variables 5e41ba8 When using the API, check for Add vs. Remove dee1976 Fix typo in VariableUnusedViaUnset test f231ce5 Remove old false positive avoidance code a117e02 Revert "Add test for unused warnings at the end of scope" 2c82f2b Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usage 6d7d449 Ignore CLI warnings for ABI determination 7740a73 Only return local keys that are defined bef3aee Use the API so that warnings can be tracked 05cb0f4 Check for unused variables in the dtor 91c4c99 Add test for unused warnings at the end of scope ca90f67 Fix detection of unused variables when setting f7438ca Add test for unused detection via setting it 995cfb0 Don't warn if the variable wasn't defined aefc91d Add test for usage checks via unset a8e97f8 Remove VarRemoved code since it's been superceded 59463ef Rework CheckVariableForUnused usage f117423 Fix line lengths to be no more than 78 e49a935 Improve unused warning logic e01e40c Mark ARGC, ARGV*, and ARGN as used a17aff7 Ignore CMAKE_MATCH_* variables for usage 02a114d Add method to allow variables to be marked as used a0b0d23 CMAKE_DO_TRY_COMPILE is no longer used ae3eff3 Fix the path used for ignoring system warnings 056b441 Fix missing case for usage of a variable 980e048 Factor out checks for unused variables 83acb0a Remove now unused variables 3801463 Use built-ins for readability and maintainability 8b52015 Push the initialize and unused states when copying 439877f Be consistent with single and double quotes 4cf1706 Add documentation for check-system-vars b74777f Fix the spelling of the flag for warn-unused-vars b948120 Change logic of flag to turn off cli unused checks f047a17 Add test for uninitialized variables 75bda38 Add tests for unused command line variables 300fc15 Fix detection of system files d784e6a Run the unused variables check on the final pass 9efc057 VariableWatch is not available when bootstrapping 2e78224 Add a missing comma to the warning message 7499700 Add a flag to warn about system files fff9f6d Rename flags again and use variablewatch for cli 786e269 Add warn-unused to the Qt interface 636e6c4 Default to marking things as used 4ff0340 Rename find-unused to warn-unused d7999e9 Rename strict-mode to warn-uninitialized e141bc9 Detect unused variables d3e8eb5 Add flags to detect unused variables f332e14 Complete strict-mode checks for uninitialized vars 52f9637 Add method to get the local scope variables f794d58 Make --strict-mode option, and integrate with cmake-gui 48b5b85 Add a warning when variables are used uninitialized. cd626ea For macros make sure the FilePath points to a valid pointer in the args.
| * | | | Merge branch 'dev/add_test-working-directory' into dev/strict-modeBrad King2011-01-2717-9/+485
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * | | | | Fix ArgumentExpansion test expected resultsBrad King2011-01-112-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the ArgumentExpansion test to expect flattened lists as has always been the case in the CMake language. Now that the test should pass enable the failure regex even when CMAKE_STRICT is not on. Replace the reference to the old ArgumentExpansion test behavior in the workaround comment in cmMakefile::TryCompile with a full inline explanation.
| * | | | | Merge branch 'ImprovedDotSupport2' into dev/strict-modeBrad King2010-12-177-7/+55
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Source/cmake.cxx
| * \ \ \ \ \ Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-modeBrad King2010-12-171-0/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Source/cmMakefile.cxx
| * \ \ \ \ \ \ Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-modeBrad King2010-12-1710-9/+99
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Source/QtDialog/CMakeSetupDialog.cxx
| * | | | | | | | Fix expected output for WarnUninitialized testBen Boeckel2010-12-071-1/+1
| | | | | | | | |
| * | | | | | | | Update expected messages to new formatBen Boeckel2010-12-071-4/+4
| | | | | | | | |
| * | | | | | | | Use 'CMake Warning' versus 'warning' for CDashBen Boeckel2010-12-071-7/+7
| | | | | | | | |
| * | | | | | | | Change the failure case string to 'Unexpected'Ben Boeckel2010-10-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS6 detects the 'Error' string and fails itself even though we don't actually care about it unless CMAKE_STRICT is on.
| * | | | | | | | Add 'ArgumentExpansion' testBen Boeckel2010-10-072-0/+74
| | | | | | | | |
| * | | | | | | | Fix typo in VariableUnusedViaUnset testBen Boeckel2010-09-171-1/+1
| | | | | | | | |
| * | | | | | | | Revert "Add test for unused warnings at the end of scope"Ben Boeckel2010-09-172-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 91c4c9921c40361df860c1384a46ed77c6118c23. The test doesn't work yet and should not have been put on this branch yet.