summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/set
Commit message (Collapse)AuthorAgeFilesLines
* set: Improve diagnostics for CACHE modeJeremy2023-08-024-0/+25
| | | | | | Improve `set()` diagnostics to be more specific than given invalid arguments for CACHE mode
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2023-02-113-7/+1
| | | | | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
* set: warn of extra arguments after ENV value.Taylor Holberton2019-02-013-0/+8
| | | | Fixes: #18842
* set: warn if CACHE type is not recognizedTaylor Holberton2019-01-303-0/+7
|
* Merge branch 'parent-scope-tests' into variable-pull-failureBen Boeckel2014-10-245-0/+266
|\ | | | | | | | | | | | | | | | | * parent-scope-tests: test: add a test for PARENT_SCOPE with multiple scopes test: add test for PARENT_SCOPE behavior Conflicts: Tests/RunCMake/set/RunCMakeTest.cmake
| * test: add a test for PARENT_SCOPE with multiple scopesBen Boeckel2014-10-243-0/+249
| | | | | | | | See the comment in the test for what is being tested here.
| * test: add test for PARENT_SCOPE behaviorBen Boeckel2014-10-243-0/+17
| | | | | | | | Test code courtesy of Alex Merry <alex.merry@kde.org>.
* | RunCMake: Allow specifying the source dir and file to test.Stephen Kelly2014-04-063-1/+1
|/ | | | | | | | | | This will allow decoupling the name of the test from the name and location of the source file under test, which means one source file can be used for multiple tests. Rename the PARENT_SCOPE test in RunCMake.set to not use a keyword of the if() command as a file name. As the filename is now used with an if condition, this causes a conflict.
* set: Add unit tests for set/unset PARENT_SCOPEDaniele E. Domenichelli2013-11-134-0/+40
Create a RunCMake.set test to cover set() command cases, starting with PARENT_SCOPE.