summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-20 10:02:59 -0400
committerBrad King <brad.king@kitware.com>2023-03-20 10:05:57 -0400
commit3346570ae99b4f51a9b5b0a52f58765726d4ee2b (patch)
tree53091d7d3227f920fb285e7c3503d41aacc619b3
parent5e5a21aadd1468e81ff7795c352898f2e115ae0e (diff)
downloadcmake-3346570ae99b4f51a9b5b0a52f58765726d4ee2b.tar.gz
Tests: Comment RunCMake.Ninja ShowIncludes sample input languages
-rw-r--r--Tests/RunCMake/showIncludes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/showIncludes.c b/Tests/RunCMake/showIncludes.c
index 4ea2bccdb2..4078d8cb72 100644
--- a/Tests/RunCMake/showIncludes.c
+++ b/Tests/RunCMake/showIncludes.c
@@ -28,6 +28,7 @@ int main()
printf("OEM code page: %u\n", GetOEMCP());
printf("VSLANG: %s\n", vslang);
+ // German.
if (strcmp(vslang, "1031") == 0) {
if (cp == 437 || cp == 65001) {
printf("Hinweis: Einlesen der Datei: C:\\foo.h\n");
@@ -35,6 +36,7 @@ int main()
}
}
+ // English.
if (strcmp(vslang, "1033") == 0) {
if (cp == 437 || cp == 65001) {
printf("Note: including file: C:\\foo.h\n");
@@ -42,6 +44,7 @@ int main()
}
}
+ // French.
if (strcmp(vslang, "1036") == 0) {
if (cp == 437 || cp == 863) {
printf("Remarque\xff: inclusion du fichier\xff: C:\\foo.h\n");
@@ -53,6 +56,7 @@ int main()
}
}
+ // Italian.
if (strcmp(vslang, "1040") == 0) {
if (cp == 437 || cp == 65001) {
printf("Nota: file incluso C:\\foo.h\n");
@@ -60,6 +64,7 @@ int main()
}
}
+ // Japanese.
if (strcmp(vslang, "1041") == 0) {
if (cp == 932) {
printf("\x83\x81\x83\x82: "
@@ -75,6 +80,7 @@ int main()
}
}
+ // Chinese.
if (strcmp(vslang, "2052") == 0) {
if (cp == 54936 || cp == 936) {
printf("\xd7\xa2\xd2\xe2: "