mkgmap unit tests fail

Hi Steve, please check: I used ant obtain-test-input-files ant test on r2436 and I see errors in package uk.me.parabola.imgfmt.app.srt Gerd -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-unit-tests-fail-tp5742996.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Steve Ratcliffe wrote
Hi Gerd,
on r2436 and I see errors in package uk.me.parabola.imgfmt.app.srt
I don't see that. What is the error?
Most of them. See attached files. I've checked out a clean copy of r2436 into D:\mkgmap_2436 the rest can be found in ant.log Gerd ant.log <http://gis.19327.n5.nabble.com/file/n5743007/ant.log> srt.zip <http://gis.19327.n5.nabble.com/file/n5743007/srt.zip> -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-unit-tests-fail-tp5742996p5743007.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Steve, the other tests were made with JDK 1.6. I also tried 1.7.09, but the compile failed: build-test: [javac] Compiling 48 source files to D:\r2436\build\test [javac] D:\r2436\test\uk\me\parabola\imgfmt\app\labelenc\CodeFunctionsTest.j ava:62: error: unmappable character for encoding Cp1252 [javac] EncodedText text = encoder.encodeText(transliterator.tra nsliterate("K├Ârnerstra├ƒe, Velkomeze┼Ö├¡─?sk├í, Sk├│lav├Âr├░ustigur")); [javac] ^ [javac] D:\r2436\test\uk\me\parabola\imgfmt\app\labelenc\CodeFunctionsTest.j ava:84: error: unmappable character for encoding Cp1252 [javac] EncodedText text = encoder.encodeText(transliterator.tra nsliterate("K├Ârnerstra├ƒe, Velkomeze┼Ö├¡─?sk├í, Sk├│lav├Âr├░ustigur")); [javac] ^ [javac] 2 errors Maybe this helps? Gerd -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-unit-tests-fail-tp5742996p5743012.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Steve Ratcliffe wrote
Seems your PC has a default character set of cp1252
Try this patch.
Yes, that fixes the problem. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-unit-tests-fail-tp5742996p5743027.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (2)
-
GerdP
-
Steve Ratcliffe