summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/Cno-file-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Fix relative path regression in -CPeter Waller2019-10-141-1/+1
| | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* Tests: Add cases for -{C,D,U} without a source treeBrad King2018-10-261-0/+3