summaryrefslogtreecommitdiffstats
path: root/Tests/Environment
Commit message (Collapse)AuthorAgeFilesLines
* CTest: add an ENVIRONMENT_MODIFICATION propertyBen Boeckel2021-07-092-0/+90
| | | | | | | | | | | | | | | | | | | | This property allows projects to modify environment variables at test time rather than trying to guess what the state should be based on what is present at configure time. Of particular interest is the ability to use a `PATH` present at test time while adding entries known to be necessary for the test itself. There are multiple operations provided to modify variables, including: - setting and unsetting - appending and prepending as: - strings - path lists - CMake lists Additionally, a `reset` action is provided to cancel any prior modifications to that particular variable in the case of incremental additions to the test property.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-4/+3
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-262-0/+42
variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.