summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-04 20:39:31 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-04 20:40:13 (GMT)
commitc4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df (patch)
tree596b19e548936fa12d6c0d5b1058a82e4a333d88 /Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt
parent3a0db0223b8c10cfaa6984253d794ab97425adf9 (diff)
downloadCMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.zip
CMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.tar.gz
CMake-c4d2f64f3c9dea3a5fcd8af5bb389db00ccd64df.tar.bz2
add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)
Refactoring in commit v3.3.0-rc1~76^2 (cmMakefile: Handle CMP0014 before configuring the generator, 2015-05-14) accidentally left the file name "/CMakeLists.txt" in the error message. Remove it and add a test case.
Diffstat (limited to 'Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt')
-rw-r--r--Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt b/Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt
new file mode 100644
index 0000000..369a956
--- /dev/null
+++ b/Tests/RunCMake/add_subdirectory/DoesNotExist-stderr.txt
@@ -0,0 +1,5 @@
+^CMake Error at DoesNotExist.cmake:1 \(add_subdirectory\):
+ add_subdirectory given source "DoesNotExist" which is not an existing
+ directory.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$