summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Test that missing source mentions directory (#11677)Brad King2011-01-152-2/+2
| | | | | Teach the MissingSourceFile test to verify that the directory portion of a missing source file is mentioned in the error message.
* Merge topic 'build_nightly_from_nightly_branch'Brad King2011-01-111-1/+1
|\ | | | | | | | | faf1c1e Change the nightly tests to build from the nightly branch and not next.
| * Change the nightly tests to build from the nightly branch and not next.Bill Hoffman2011-01-071-1/+1
| | | | | | | | | | This will make sure that the nightly test matches the dashboard nightly section. When it was next, it used next from when the test was run.
* | Merge topic 'ep-fix-substitutions'Brad King2011-01-111-1/+2
|\ \ | | | | | | | | | | | | | | | d67a513 ExternalProject: Replace location tags in CMAKE_CACHE_ARGS d7a87b5 Merge branch 'ep-log-output-under-vs' into ep-fix-substitutions
| * | ExternalProject: Replace location tags in CMAKE_CACHE_ARGSDavid Cole2011-01-071-1/+2
| |/ | | | | | | | | | | When we added CMAKE_CACHE_ARGS, we did not try it with any <SOURCE_DIR> or <INSTALL_DIR> references. This commit fixes that accidental omission.
* | Merge topic 'policy-CMP0017'Brad King2011-01-112-1/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ce28737 Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017 7db8db5 Improve documentation and messages for the new CMP0017 db44848 Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 1e69c6f Merge branch 'user-policy-defaults' into policy-CMP0017 65a0a2a Merge branch 'include-command-whitespace' into policy-CMP0017
| * | Improve documentation and messages for the new CMP0017Alex Neundorf2011-01-041-1/+1
| | | | | | | | | | | | | | | | | | This patch incorporates the comments from Brad: -some improvements to the documentation of CMP0017 -make the test QUIETLY search for zlib
| * | Prefer files from CMAKE_ROOT when including from CMAKE_ROOTAlex Neundorf2011-01-042-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes include() and find_package() prefer cmake files located in CMAKE_ROOT over those in CMAKE_MODULE_PATH. This makes sure that the including file gets that file included which it expects, i.e. the one from cmake with which it was tested. It only changes behaviour when such an included file exists both in CMAKE_MODULE_PATH and in CMAKE_ROOT. This comes together with a new policy CMP0017, with default behaviour it behaves as it always did, but warns. With NEW behaviour it includes the file from CMAKE_ROOT instead from CMAKE_MODULE_PATH. This fixes (if CMP0017 is set) building KDE 4.5 with cmake >= 2.8.3. Also a basic test for this policy in included.
* | | Merge topic 'user-policy-defaults'Brad King2011-01-111-0/+18
|\ \ \ | |/ / | | | | | | | | | | | | a364daf Allow users to specify defaults for unset policies 8e45c11 Fix indentation in cmPolicies::ApplyPolicyVersion()
| * | Allow users to specify defaults for unset policiesBrad King2011-01-041-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check CMAKE_POLICY_DEFAULT_CMP<NNNN> for a default when policy CMP<NNNN> would otherwise be left unset. This allows users to set policies on the command line when the project does not set them. One may do this to quiet warnings or test whether a project will build with new behavior without modifying code. There may also be cases when users want to build an existing project release using new behavior for policies unknown to the project at the time of the release.
* | | Merge topic 'fix-11461-add-midl-vs10'Brad King2011-01-115-0/+151
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e33cbda VSMidl Test: Use correct include_directories with VS6 (#11461) 262da91 Prohibit space in HOME value for VSMidl test. 13caaa3 VS10: Finish Midl support (#11461)
| * | | VSMidl Test: Use correct include_directories with VS6 (#11461)David Cole2011-01-061-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | VS6 builds put midl output directly in CMAKE_CURRENT_BINARY_DIR. Adjust test include_directories to match. Fixes test failure on dashboard machine DASH3.
| * | | Prohibit space in HOME value for VSMidl test.David Cole2011-01-051-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some Windows machines actually define HOME in their environment. And some of them actually put a directory with a space in the name as the value. Make sure the HOME value (CMake variable) in this CMakeLists file does not contain a space.
| * | | VS10: Finish Midl support (#11461)David Cole2011-01-055-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit addresses all of the following: http://public.kitware.com/Bug/view.php?id=8165 http://public.kitware.com/Bug/view.php?id=10687 http://public.kitware.com/Bug/view.php?id=11311 http://public.kitware.com/Bug/view.php?id=11461 With this commit, the midl support for VS10 is as complete as midl support ever was for VS9 and earlier. The VSMidl test should run on all Visual Studio generator based dashboards. CMake no longer sends C++ compiler /D flag values to the midl compiler in Visual Studio generated projects. I think if we want to add that in the future, we should add a way to pass midl compiler specific flags and perhaps an optional way to add in the C++ definitions, too. For now, not sending them along gets past the immediate problem wherein idl files in a CMake VS generated project just didn't work at all. The VSMidl test added in this commit was inspired by the patch attached to 8165. The test had to be modified such that it will run in a directory whose name contains no spaces. There is an existing bug filed against VS10's midl asking Microsoft to fix that problem. But for now, the test added in this commit works by copying the source directory to a location that avoids spaces in the directory names. Inspired-By: Robert Lenhardt
* | | | CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)David Cole2011-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Control the root directory of the default directory presented to the end user of an NSIS installer by a CPack variable. Previously, the value used in the NSIS script was $PROGRAMFILES, which is equivalent to the "ProgramFiles" environment variable. That default value is still the same, but now a project may override the value by setting this new variable.
* | | | CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)David Cole2011-01-071-0/+10
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only strings containing "http:" qualified as URLs when found in CPACK_NSIS_MENU_LINKS. Now, we use a regex to detect strings beginning with any of the following: ftp:// ftps:// http:// https:// news:// mailto: This commit also moves the caller of CreateMenuLinks outside the "if (cpackPackageExecutables)" block, allowing clients to use CPACK_NSIS_MENU_LINKS without also having CPACK_PACKAGE_EXECUTABLES defined. That bit of this commit fixes the remainder of the issue described in http://public.kitware.com/Bug/view.php?id=7828 Also, added a set(CPACK_NSIS_MENU_LINKS ...) to the CPackComponents test to enable verifying that all of this actually works.
* | | Merge topic 'negative-test-costs'Brad King2011-01-045-1/+81
|\ \ \ | | | | | | | | | | | | | | | | 6b0c7de Support explicitly set test costs in non-parallel testing.
| * | | Support explicitly set test costs in non-parallel testing.Zach Mullen2011-01-035-1/+81
| |/ /
* | | Merge topic 'honor-explicit-zero-timeout'Brad King2011-01-045-23/+88
|\ \ \ | | | | | | | | | | | | | | | | 51bb493 Test TIMEOUT property explicitly set to zero should be honored
| * | | Test TIMEOUT property explicitly set to zero should be honoredZach Mullen2011-01-035-23/+88
| |/ /
* | | Merge topic 'vs-force-multiple-include'Brad King2011-01-045-0/+20
|\ \ \ | | | | | | | | | | | | | | | | b29eadd Map multiple /FI flags for VS < 10 (#11649)
| * | | Map multiple /FI flags for VS < 10 (#11649)Brad King2011-01-035-0/+20
| |/ / | | | | | | | | | | | | The /FI flag may be repeated so the flag table entry needs to be marked with SemicolonAppendable. This was already the case for VS 10.
* | | Merge topic 'dev/add_test-working-directory'Brad King2011-01-042-23/+7
|\ \ \ | | | | | | | | | | | | | | | | 6529d7f Pass the expected value as the first argument
| * | | Pass the expected value as the first argumentBen Boeckel2011-01-032-23/+7
| | | | | | | | | | | | | | | | | | | | When the path has regular expression special characters, the PASS_REGULAR_EXPRESSION value can fail to compile.
* | | | Merge topic 'make-install-test-serial'Brad King2011-01-041-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | bce24e1 Avoid running CMake.Install test simultaneously with other tests
| * | | | Avoid running CMake.Install test simultaneously with other testsDavid Cole2010-12-311-0/+3
| | |/ / | |/| |
* | | | Merge topic 'add-trilinos-contract-test'Brad King2011-01-046-0/+264
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8113621 Establish pass criteria for the Trilinos contract test. 7348561 Use m prefix in shorttag value to indicate "md5 of tarball" c8ac930 Add contract test for Trilinos 10.6.1 snapshot.
| * | | | Establish pass criteria for the Trilinos contract test.David Cole2010-12-286-6/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a ValidateBuild.cmake script that runs after the Trilinos dashboard run is complete. In that script, look for some expected Trilinos executable files. Run the basic Teuchos unit tests executable and expect it to return 0 for no errors. Also, patch the main CMakeLists.txt file to get rid of new warnings from CMake when variables passed in on the command line go un-referenced in the CMakeLists processing.
| * | | | Use m prefix in shorttag value to indicate "md5 of tarball"David Cole2010-12-281-0/+1
| | | | |
| * | | | Add contract test for Trilinos 10.6.1 snapshot.David Cole2010-11-095-0/+198
| | | | |
* | | | | Merge topic 'add_support_for_windres'Brad King2011-01-041-1/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 971692c Build enable_language command during bootstrap 960ace1 Add testing for windows resources for mingw/msys/cygwin and remove for watcom. 060d6e8 Add support for windres to cygwin. b2f308c Add support for windows resources with mingw/msys.
| * | | | | Add testing for windows resources for mingw/msys/cygwin and remove for watcom.Bill Hoffman2010-12-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should test windows resources on all platforms where they are supported now.
* | | | | | Merge topic 'add_preprocessor_def_vs2010_resources'Brad King2011-01-045-1/+26
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | | | | | | | | | | | | 8c7b19d Only run resource test for MSVC compilers. 753e208 Disable incremental testing for this test, it crashes vs9 linker. 16e7d4b Add flags to resource builds on vs 2010 with a test.
| * | | | Only run resource test for MSVC compilers.Bill Hoffman2010-12-221-11/+3
| | | | |
| * | | | Disable incremental testing for this test, it crashes vs9 linker.Bill Hoffman2010-12-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | On windows 7 64 bit, the vs9 linker will crash when linking an application with a resource in it.
| * | | | Add flags to resource builds on vs 2010 with a test.Bill Hoffman2010-12-215-1/+31
| | | | |
* | | | | Merge topic 'dev/add_test-working-directory'Brad King2010-12-283-0/+131
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 667a90a Fix sentence break in add_test documentation 96309fc Make TestsWorkingDirectory test a C file a4a5e37 Use iostream to make Borland happy cfe53cd Fully specify the path to old-signature add_test 017d4e9 Group adding tests with its properties 561cc33 Only test the default cwd with Makefiles d87bae7 Simplify the _default_cwd derivation 992c74f Use --><-- markers to denote the path 5249551 Flip slashes around on Windows 0a014da Add ctype.h include for toupper() af12f83 Fix header includes for C++ and Visual Studio 5597aa2 Rename the project to match the test 9bf4165 Add tests for WORKING_DIRECTORY arg to add_test 42de5d0 Add WORKING_DIRECTORY argument to add_test 7679f9f Rename WorkingDirectory test d95f817 Add the WORKING_DIRECTORY property to tests
| * | | | Make TestsWorkingDirectory test a C fileBen Boeckel2010-12-172-11/+11
| | | | |
| * | | | Use iostream to make Borland happyBen Boeckel2010-12-171-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | It seems as though cstdio doesn't bring in stdio.h with the Borland compilers.
| * | | | Fully specify the path to old-signature add_testBen Boeckel2010-12-171-2/+2
| | | | |
| * | | | Group adding tests with its propertiesBen Boeckel2010-12-171-6/+4
| | | | |
| * | | | Only test the default cwd with MakefilesBen Boeckel2010-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XCode and Visual Studio generators can run from ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_BUILD_TYPE} and determining this at testing time is not feasible without adding in more PASS_REGULAR_EXPRESSION's which may create false positives. Since the parsing code is in cross-platform, generator-agnostic code, if it passes with Makefiles, it should work with other generators on other platforms.
| * | | | Simplify the _default_cwd derivationBen Boeckel2010-12-171-5/+3
| | | | |
| * | | | Use --><-- markers to denote the pathBen Boeckel2010-12-172-7/+7
| | | | |
| * | | | Flip slashes around on WindowsBen Boeckel2010-12-171-0/+7
| | | | |
| * | | | Add ctype.h include for toupper()Ben Boeckel2010-12-171-0/+1
| | | | |
| * | | | Fix header includes for C++ and Visual StudioBen Boeckel2010-12-171-2/+3
| | | | |
| * | | | Rename the project to match the testBen Boeckel2010-12-161-1/+1
| | | | |
| * | | | Add tests for WORKING_DIRECTORY arg to add_testBen Boeckel2010-12-161-0/+21
| | | | |
| * | | | Rename WorkingDirectory testBen Boeckel2010-12-163-6/+6
| | | | |