mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
test: Added additional unit test to variable_watch
This tests adding a variable_watch inside the callback to an existing callback
This commit is contained in:
1 parent
46f7a6707b
commit
28d2c6ef7e
2 files changed
+18
No files matched your search
@@ -0,0 +1,17 @@
|
||||
function (watch2)
|
||||
|
||||
endfunction ()
|
||||
|
||||
function (watch1)
|
||||
variable_watch(watched watch2)
|
||||
variable_watch(watched watch2)
|
||||
variable_watch(watched watch2)
|
||||
variable_watch(watched watch2)
|
||||
variable_watch(watched watch2)
|
||||
variable_watch(watched watch2)
|
||||
endfunction ()
|
||||
|
||||
variable_watch(watched watch1)
|
||||
variable_watch(watched watch2)
|
||||
|
||||
set(access "${watched}")
|
||||
@@ -3,3 +3,4 @@ include(RunCMake)
|
||||
run_cmake(ModifiedAccess)
|
||||
run_cmake(NoWatcher)
|
||||
run_cmake(WatchTwice)
|
||||
run_cmake(ModifyWatchInCallback)
|
||||
Reference in new issue
Block a user