Add Windows i18n support (#617)

This commit is contained in:
Nikolay Igotti
2017-05-31 10:01:49 +03:00
committed by GitHub
parent 4f9a1e9a33
commit 74ffc479bb
9 changed files with 27 additions and 28 deletions
+2 -17
View File
@@ -367,17 +367,14 @@ task hello3(type: RunKonanTest) {
}
task hello4(type: RunKonanTest) {
if (isWindows()) {
// To be investigated.
disabled = true
}
goldValue = "Hello\nПока\n"
source = "runtime/basic/hello4.kt"
}
task tostring0(type: RunKonanTest) {
if (isWindows()) {
// To be investigated.
// ト is misprinted for now (as 0x3f).
// TODO: investigate.
disabled = true
}
goldValue = "127\n-1\n239\nA\nЁ\nト\n1122334455\n112233445566778899\n3.14159265358\n1.0E27\n1.0E-300\ntrue\nfalse\n"
@@ -395,10 +392,6 @@ task tostring2(type: RunKonanTest) {
}
task tostring3(type: RunKonanTest) {
if (isWindows()) {
// Double.toString()
disabled = true
}
goldValue = "-128\n127\n-32768\n32767\n" +
"-2147483648\n2147483647\n-9223372036854775808\n9223372036854775807\n" +
"1.4E-45\n3.4028235E38\n-Infinity\nInfinity\n" +
@@ -1223,19 +1216,11 @@ task moderately_large_array1(type: RunKonanTest) {
}
task string_builder0(type: RunKonanTest) {
if (isWindows()) {
// To be investigated.
disabled = true
}
goldValue = "OK\n"
source = "runtime/text/string_builder0.kt"
}
task string0(type: RunKonanTest) {
if (isWindows()) {
// To be investigated.
disabled = true
}
goldValue = "true\ntrue\nПРИВЕТ\nпривет\nПока\ntrue\n"
source = "runtime/text/string0.kt"
}