Add Windows i18n support (#617)
This commit is contained in:
@@ -157,8 +157,9 @@ targetList.each { target ->
|
||||
classpath = project.configurations.cli_bc
|
||||
jvmArgs "-ea",
|
||||
"-Dkonan.home=${project.parent.file('dist')}",
|
||||
"-Djava.library.path=${project.buildDir}/nativelibs"
|
||||
args('-output', project(':runtime').file("build/${target}Stdlib"),
|
||||
"-Djava.library.path=${project.buildDir}/nativelibs",
|
||||
"-Dfile.encoding=UTF-8"
|
||||
args('-output', project(':runtime').file("build/${target}Stdlib"),
|
||||
'-nopack', '-nostdlib','-ea',
|
||||
'-produce', 'library', '-target', target,
|
||||
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user