summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/ctest_start_function_scope.rst
blob: f949c2badc57c0ffe0ee6f89b264400c89a8255c (plain)
1
2
3
4
5
6
7
8
ctest_start_function_scope
--------------------------

* The :command:`ctest_start` command no longer sets
  :variable:`CTEST_RUN_CURRENT_SCRIPT` due to issues with scoping if it is
  called from inside a function. Instead, it sets an internal variable in
  CTest. However, setting :variable:`CTEST_RUN_CURRENT_SCRIPT` to 0 at the
  global scope still prevents the script from being re-run at the end.