summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'test-GNUInstallDirs-FreeBSD'Brad King2017-06-057-8/+136
|\ | | | | | | | | | | | | 913736f1 Tests: Fix RunCMake.GNUInstallDirs on BSD platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !921
| * Tests: Fix RunCMake.GNUInstallDirs on BSD platformsBrad King2017-06-027-8/+136
| | | | | | | | | | | | | | The `GNUInstallDirs` module has different defaults on BSD platforms. Update the test expected output to account for the difference. Fixes: #16887
* | CompileFeatures: Makes tests work with meta-feature onlyChuck Atkins2017-05-292-4/+6
|/
* Merge topic 'find_dependency-improvements'Brad King2017-05-2528-50/+71
|\ | | | | | | | | | | | | ab358d6a Improve find_dependency argument handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !872
| * Improve find_dependency argument handlingMatthew Woehlke2017-05-2228-50/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove highly specialized and totally positional argument handling in find_dependency macro, and instead just pass arguments through to find_package. This gives users access to the full suite of arguments that find_package knows, and is backward compatible with the old arguments. Also, rewrite the unit tests for this, since the old tests are exclusively focused on testing the old argument handling and are no longer applicable, and add some success tests (the old tests did not even set up the CMake state in a way that CMake had any hope of ever finding the test package).
* | Merge topic 'find_package-shorter-message'Brad King2017-05-259-47/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | d0b9d1cc find_package: shorten output for missing package in config mode d9df805f cmFindPackageCommand: Split condition to improve readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !851
| * | find_package: shorten output for missing package in config modeChristoph GrĂ¼ninger2017-05-239-47/+5
| | | | | | | | | | | | | | | | | | | | | If CONFIG or MODULE is given and the package is not REQUIRED, output a one-liner instead of the full warning. Update Tests/RunCMake/find_package expected output to match.
* | | Merge topic 'add-findpackage-root-prefix'Brad King2017-05-2217-0/+476
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe8f08d2 find_*: Add docs for PackageRoot search path group 57744ca9 find_*: Add tests for PackageRoot search path group ef3d360a find_*: Add a new PackageRoot search path group Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !796
| * | | find_*: Add tests for PackageRoot search path groupChuck Atkins2017-05-1617-0/+476
| | | |
* | | | Merge topic 'target-depends-per-config'Brad King2017-05-192-2/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 87a37e64 cmComputeTargetDepends: Avoid nested loops over configurations 5a913794 cmComputeTargetDepends: Avoid computing with empty configuration 70c65572 Tests: Fix RunCMake.CMP0022 tll case for Debug configuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !865
| * | | Tests: Fix RunCMake.CMP0022 tll case for Debug configurationBrad King2017-05-182-2/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CMP0022-WARN-tll` case overrides legacy properties set by `target_link_libraries` so that we can verify that the policy warning is emitted. When building in the Debug configuration, the `_DEBUG` variant of the legacy property is set/checked too. Fix the test case to override both variants. Previously it only passed because `cmComputeTargetDepends::AddInterfaceDepends` always evaluated dependencies with the "" configuration.
* | | CPack/Archive: per component filenames supportDomen Vrankar2017-05-163-1/+7
|/ / | | | | | | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* | CPack test symlinks in packageDomen Vrankar2017-05-145-0/+59
| |
* | Improved CPack tests error loggingDomen Vrankar2017-05-143-4/+6
|/
* Merge topic 'ninja-windows-command-concat'Brad King2017-05-102-0/+24
|\ | | | | | | | | | | | | 5e0e03d9 Ninja: Fix command concatenation on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !801
| * Ninja: Fix command concatenation on WindowsBernhard Burgermeister2017-05-092-0/+24
| | | | | | | | | | | | | | | | | | | | | | Put commands that contain `||` into brackets to avoid early abort of execution by `cmd.exe` because `||` has higher precedence than `&&` in `cmd.exe`. Add test to check for command execution after `||` as part of a parameter and as command separator. Fixes: #16850
* | Tests: Fix RunCMake.Framework expectation for universal binariesBrad King2017-05-082-2/+5
| | | | | | | | | | While at it, replace `\n` in with a real newline because such escape sequences are not processed in this context.
* | Merge topic 'ctest_submit_headers'Brad King2017-05-057-0/+10
|\ \ | |/ |/| | | | | | | | | 1a7d00bd ctest_submit: Add HTTPHEADER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !793
| * ctest_submit: Add HTTPHEADER optionZack Galbreath2017-05-047-0/+10
| | | | | | | | | | | | | | | | | | Allow CTest script writers to specify additional HTTP headers to be sent to CDash during submission. The motivating case for this feature is a corresponding change in CDash. This will allow projects to refuse submissions from any site not bearing a valid authentication token.
* | Merge topic 'ipo-xcode'Brad King2017-05-032-3/+2
|\ \ | | | | | | | | | | | | | | | | | | 7e75568b Xcode: Support IPO (LTO) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !785
| * | Xcode: Support IPO (LTO)Ruslan Baratov2017-05-022-3/+2
| | |
* | | Merge topic 'excludeFixtures'Brad King2017-05-0210-2/+151
|\ \ \ | |/ / |/| | | | | | | | | | | | | | c1b2b7c0 Add ctest options for limiting which tests fixtures add Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !778
| * | Add ctest options for limiting which tests fixtures addCraig Scott2017-05-0110-2/+151
| | | | | | | | | | | | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* | | Merge topic 'separgs-native'Brad King2017-04-288-0/+60
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d83837 separgs: Use NATIVE_COMMAND where appropriate 2a207aac separgs: Add a NATIVE_COMMAND mode 81841426 separgs: Migrate tests to RunCMake tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !753
| * | | separgs: Add a NATIVE_COMMAND modeChristian Pfeiffer2017-04-262-0/+20
| | | |
| * | | separgs: Migrate tests to RunCMake testsChristian Pfeiffer2017-04-267-0/+40
| | | |
* | | | Merge topic 'bindexplib-consts'Brad King2017-04-282-0/+12
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | afb21342 bindexplib: fix constants symbols export Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !763
| * | | bindexplib: fix constants symbols exportMikhail Paulyshka2017-04-262-0/+12
| | | |
* | | | Merge topic 'test-install-objects-as-files'Brad King2017-04-275-6/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4c23ee2 Tests: Add case for install(FILES) with TARGET_OBJECTS d272c4d5 Tests: Generalize RunCMake.install internal infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !769
| * | | | Tests: Add case for install(FILES) with TARGET_OBJECTSBrad King2017-04-265-0/+16
| | | | |
| * | | | Tests: Generalize RunCMake.install internal infrastructureBrad King2017-04-261-6/+10
| | |/ / | |/| | | | | | | | | | Allow `run_install_test` to be used for simpler cases.
* | | | Merge topic 'test-makefile-custom-target-includes'Brad King2017-04-275-3/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 434f5cef Tests: Add case for IMPLICIT_DEPENDS in custom target 6d1be6e3 Tests: Split RunCMake.BuildDepends make-only condition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !766
| * | | | Tests: Add case for IMPLICIT_DEPENDS in custom targetBrad King2017-04-265-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the `IMPLICIT_DEPENDS` option of `add_custom_command` and place the command in a custom target. Verify that `INCLUDE_DIRECTORIES` of that custom target are honored. This is a case that was not really designed to work but happens to work, is useful, and makes sense. Add a test case make sure it continues to work. Issue: #16830
| * | | | Tests: Split RunCMake.BuildDepends make-only conditionBrad King2017-04-261-3/+4
| |/ / /
* | | | Merge topic 'ctest_test-ignore-skipped-tests'Brad King2017-04-2717-12/+145
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 851b6c15 cmCTestTestHandler: indicate why a test did not run 25a7f14f Help: add release notes ab8bbef9 cmCTestTestHandler: count skipped tests as disabled 202a44a4 cmCTestRunTest: do not count skipped tests as failed Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !741
| * | | cmCTestTestHandler: indicate why a test did not runBen Boeckel2017-04-2410-20/+20
| | | |
| * | | cmCTestTestHandler: count skipped tests as disabledBen Boeckel2017-04-2411-0/+133
| | |/ | |/| | | | | | | | | | | | | The `Skipped` status is basically a runtime version of the `Disabled` status (set as a property on the test by the configure step), so treat them the same.
* | | Merge topic 'deprecate-policy-old'Brad King2017-04-2510-1/+102
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 4f5bbbea Add deprecation warnings for policies CMP0036 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !743
| * | Add deprecation warnings for policies CMP0036 and belowBrad King2017-04-2110-1/+102
| |/ | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | Merge topic 'remove-xcode-2'Brad King2017-04-244-27/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7373b389 Xcode: Drop support for Xcode versions below 3 eaf53849 Xcode: Compute version number earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !737
| * | Xcode: Drop support for Xcode versions below 3Brad King2017-04-224-27/+5
| |/
* | Merge topic 'vs8-deprecate'Brad King2017-04-245-0/+15
|\ \ | | | | | | | | | | | | | | | | | | 81f9c9e8 Deprecate Visual Studio 8 2005 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !739
| * | Deprecate Visual Studio 8 2005 generatorBrad King2017-04-215-0/+15
| |/ | | | | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning.
* | RunCMake.Ninja: add a test for assumed sourcesBen Boeckel2017-04-212-0/+36
| | | | | | | | | | This is a dark corner of the Ninja generator. It should be fixed in the future, but add a test which shows its behaviors.
* | ninja: break unnecessary target dependenciesBen Boeckel2017-04-215-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, given two libraries, X and Y where X depends on Y, all object compilations of X would require the Y library to have been linked before being compiled. This is not necessary and can instead be loosened such that object compilations of X only depend on the order-only dependencies of Y to be completed. This is to ensure that generated sources, headers, custom commands, etc. are completed before X starts to compile its objects. This should help build performance in projects with many libraries which cause a deep library dependency chain. Previously, a library at the bottom would not start compilation until after all other libraries completed, but now only its link step needs to wait and its compilation jobs can be run in parallel with other tasks. Fixes: #15555
* | RunCMake.Ninja: support passing arguments when running ninjaBen Boeckel2017-04-211-1/+1
|/
* Merge topic 'GNUInstallDirs-add-RUNSTATEDIR'Brad King2017-04-215-0/+9
|\ | | | | | | | | | | | | 40814a7c GNUInstallDirs: Add RUNSTATEDIR variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !706
| * GNUInstallDirs: Add RUNSTATEDIR variableFelix Geyer2017-04-205-0/+9
| |
* | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-198-19/+4
| | | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | Merge topic 'objlib-extend'Brad King2017-04-1925-45/+89
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712