diff options
author | scivision <scivision@users.noreply.github.com> | 2023-09-18 02:32:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-18 15:51:31 (GMT) |
commit | ca77b745e9b58fb64a51e64375fe961913ced524 (patch) | |
tree | 254e5be7e21068202aebce2740e347e08065dcd6 /Tests/RunCMake | |
parent | d007eb70468437cb7a1f30d160f3b97263cbc087 (diff) | |
download | CMake-ca77b745e9b58fb64a51e64375fe961913ced524.zip CMake-ca77b745e9b58fb64a51e64375fe961913ced524.tar.gz CMake-ca77b745e9b58fb64a51e64375fe961913ced524.tar.bz2 |
cmake: Clarify error if -P script does not exist
Diffstat (limited to 'Tests/RunCMake')
5 files changed, 6 insertions, 5 deletions
diff --git a/Tests/RunCMake/CommandLine/C-no-file-stderr.txt b/Tests/RunCMake/CommandLine/C-no-file-stderr.txt index b65a349..5d3d4b3 100644 --- a/Tests/RunCMake/CommandLine/C-no-file-stderr.txt +++ b/Tests/RunCMake/CommandLine/C-no-file-stderr.txt @@ -1,3 +1,3 @@ -^CMake Error: Error processing file: .*/Tests/RunCMake/CommandLine/C-no-file-build/nosuchcachefile.txt +^CMake Error: Not a file: .*/Tests/RunCMake/CommandLine/C-no-file-build/nosuchcachefile.txt CMake Error: The source directory ".*/Tests/RunCMake/CommandLine/C-no-file-build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.$ diff --git a/Tests/RunCMake/CommandLine/Cno-file-stderr.txt b/Tests/RunCMake/CommandLine/Cno-file-stderr.txt index 416686c..4024499 100644 --- a/Tests/RunCMake/CommandLine/Cno-file-stderr.txt +++ b/Tests/RunCMake/CommandLine/Cno-file-stderr.txt @@ -1,3 +1,3 @@ -^CMake Error: Error processing file: .*/Tests/RunCMake/CommandLine/Cno-file-build/nosuchcachefile.txt +^CMake Error: Not a file: .*/Tests/RunCMake/CommandLine/Cno-file-build/nosuchcachefile.txt CMake Error: The source directory ".*/Tests/RunCMake/CommandLine/Cno-file-build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.$ diff --git a/Tests/RunCMake/CommandLine/P_directory-stderr.txt b/Tests/RunCMake/CommandLine/P_directory-stderr.txt index b8319a1..ec33aed 100644 --- a/Tests/RunCMake/CommandLine/P_directory-stderr.txt +++ b/Tests/RunCMake/CommandLine/P_directory-stderr.txt @@ -1 +1 @@ -^CMake Error: Error processing file: .*/Tests/RunCMake/CommandLine$ +^CMake Error: Not a file: .*/Tests/RunCMake/CommandLine$ diff --git a/Tests/RunCMake/CommandLine/P_no-file-stderr.txt b/Tests/RunCMake/CommandLine/P_no-file-stderr.txt index 2e12399..a3b4e8e 100644 --- a/Tests/RunCMake/CommandLine/P_no-file-stderr.txt +++ b/Tests/RunCMake/CommandLine/P_no-file-stderr.txt @@ -1 +1,2 @@ -^CMake Error: Error processing file: nosuchscriptfile.cmake$ +^CMake Error: Not a file: nosuchscriptfile.cmake +CMake Error: Error processing file: nosuchscriptfile.cmake$ diff --git a/Tests/RunCMake/CommandLine/install-bad-dir-stderr.txt b/Tests/RunCMake/CommandLine/install-bad-dir-stderr.txt index 320aecc..87999d5 100644 --- a/Tests/RunCMake/CommandLine/install-bad-dir-stderr.txt +++ b/Tests/RunCMake/CommandLine/install-bad-dir-stderr.txt @@ -1 +1 @@ -^CMake Error: Error processing file: +^CMake Error: Not a file: |