summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/showIncludes.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-26 15:16:01 -0500
committerBrad King <brad.king@kitware.com>2023-01-28 07:16:58 -0500
commit8f82e755f336c66194ce8229575e4651cb7a4c62 (patch)
tree9f135856ceb1b660c8525efb3a178b20a3f12c4e /Tests/RunCMake/showIncludes.c
parentd6e7e4d4a1844af15c005dab2db6237464ad160d (diff)
downloadcmake-8f82e755f336c66194ce8229575e4651cb7a4c62.tar.gz
Ninja: Fix detection of MSVC showIncludes prefix in Italian
The prefix does not have two colons. Update our regex. Fixes: #24357
Diffstat (limited to 'Tests/RunCMake/showIncludes.c')
-rw-r--r--Tests/RunCMake/showIncludes.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/showIncludes.c b/Tests/RunCMake/showIncludes.c
index 27ce458ce1..4ea2bccdb2 100644
--- a/Tests/RunCMake/showIncludes.c
+++ b/Tests/RunCMake/showIncludes.c
@@ -53,6 +53,13 @@ int main()
}
}
+ if (strcmp(vslang, "1040") == 0) {
+ if (cp == 437 || cp == 65001) {
+ printf("Nota: file incluso C:\\foo.h\n");
+ return 0;
+ }
+ }
+
if (strcmp(vslang, "1041") == 0) {
if (cp == 932) {
printf("\x83\x81\x83\x82: "