summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/variable_watch
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2020-06-181-1/+1
| | | | Use 3.3 or 2.8.12 where possible.
* variable_watch: trigger on variables set via PARENT_SCOPEMatteo Settenvini2018-04-113-0/+18
| | | | | | | Make sure that we also trigger variable watches when a variable is set in the parent scope. Fixes: #17827
* test: Added additional unit test to variable_watchJustin Berger2017-09-212-0/+18
| | | | | This tests adding a variable_watch inside the callback to an existing callback
* Cygwin: Avoid legacy warnings in RunCMake.* testsBrad King2013-08-131-1/+1
| | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
* variable_watch: Add test for watching a variable multiple timesBen Boeckel2013-08-083-0/+14
|
* variable_watch: Print accesses as "CMake Debug Log" messagesBrad King2013-06-032-6/+8
| | | | | | Use makefile->IssueMessage() to print the unprocessed watch message in a format consistent with other CMake messages and with a more complete call stack for the access.
* variable_watch: Remove leftover debugging code (#14187)Brad King2013-06-033-0/+13
| | | | | | | | | | When a watch does not specify a command to call then variable_watch prints out a message to stderr. Remove code after that which collects all variable values to construct a message that is never printed. Otherwise such code causes a READ_ACCESS watch to trigger on all variables in the currents scope. Reported-by: Yichao Yu <yyc1992@gmail.com>
* variable_watch: Add test for MODIFIED_ACCESS reportBrad King2013-06-034-0/+12
Add a RunCMake.variable_watch watch test to cover the basic use case.