Files
CMake/Tests/RunCMake/FileAPI/ProjectQueryBad-stderr.txt
Matthew Woehlke a1a75f4008 cmake_file_api: Improve error message consistency
Remove literal text "subcommand" from error messages. This addresses the
other use of this and improves consistency (see preceding commit). Also,
omit some unnecessary articles, which also improves consistency.
2025-12-01 15:52:36 -05:00

37 lines
1.6 KiB
Plaintext

Non-query check
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api does not recognize sub-command NOT_A_QUERY
.*
Invalid API version checks
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api QUERY given unsupported API_VERSION "2" \(the only currently
supported version is 1\)\.
.*
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api QUERY given non-integer API_VERSION\.
.*
Invalid version numbers check
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api QUERY given invalid arguments:
Given a malformed version "nope" for CODEMODEL\.
Given a malformed version "-2" for CACHE\.
Given a malformed version "\.8" for CMAKEFILES\.
Given a malformed version "0\.1" for TOOLCHAINS\.
.*
Requested versions too high check
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api QUERY given invalid arguments:
None of the specified CODEMODEL versions is supported by this version of CMake\.
None of the specified CACHE versions is supported by this version of CMake\.
None of the specified CMAKEFILES versions is supported by this version of CMake\.
None of the specified TOOLCHAINS versions is supported by this version of CMake\.
.*
Requested versions too low check
CMake Error at ProjectQueryBad\.cmake:[0-9]+ \(cmake_file_api\):
cmake_file_api QUERY given invalid arguments:
None of the specified CODEMODEL versions is supported by this version of CMake\.
None of the specified CACHE versions is supported by this version of CMake\.