[liblouis-liblouisxml] Re: Interesting failures in hungarian Yaml based test harnessfiles

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 10 Jul 2015 11:17:07 +0200

Hi Attila

On 07/09/2015 10:39 AM, Hammer Attila wrote:

I tryed with ./check_yaml hu-hu-g1_harness.yaml command.
The test suite drop following message, sorry the longer quote:
"Input: '- A sivatagi karavánúton, negyven vagy ötven mérföldnyire
innen. Egy Ford. De mi nem megyünk magával. - Elővette az irattárcáját,
és átadott Naszifnak egy angol fontot. - Ha visszajön, keressen meg a
vasútállomás mellett a Grand Hotelban.'
Expected: '⠤ ⠨⠁ ⠎⠊⠧⠁⠞⠁⠛⠊ ⠅⠁⠗⠁⠧⠈⠝⠬⠞⠕⠝⠂ ⠝⠑⠹⠧⠑⠝ ⠧⠁⠹ ⠟⠞⠧⠑⠝ ⠍⠡⠗⠋⠟⠇⠙⠫⠊⠗⠑
⠊⠝⠝⠑⠝⠄ ⠨⠑⠹ ⠨⠋⠕⠗⠙⠄ ⠨⠙⠑ ⠍⠊ ⠝⠑⠍ ⠍⠑⠹⠷⠝⠅ ⠍⠁⠛⠈⠧⠁⠇⠄ ⠤ ⠨⠑⠇⠻⠧⠑⠞⠞⠑ ⠁⠣
⠊⠗⠁⠞⠞⠈⠗⠉⠈⠚⠈⠞⠂ ⠡⠎ ⠈⠞⠁⠙⠕⠞⠞ ⠨⠝⠁⠱⠊⠋⠝⠁⠅ ⠑⠹ ⠁⠝⠛⠕⠇ ⠋⠕⠝⠞⠕⠞⠄ ⠤ ⠨⠓⠁ ⠧⠊⠱⠱⠁⠚⠟⠝⠂
⠅⠑⠗⠑⠎⠎⠑⠝ ⠍⠑⠛ ⠁ ⠧⠁⠎⠬⠞⠈⠇⠇⠕⠍⠈⠎ ⠍⠑⠇⠇⠑⠞⠞ ⠁ ⠨⠛⠗⠁⠝⠙ ⠨⠓⠕⠞⠑⠇⠃⠁⠝⠄'
Received: '$ ( 
'
', 9' '9 ' ! +

 (9 (  (
 97 ' $ (;' #
  !  (1
 9   $ ( '
11    ',    ( ('
Diff: Expected nothing but recieved '' in index 190
SUCCESS (1178 tests, 0 failures)"
Have you any ydea why not produce this testcase the expected result with
yaml based test system?

This seems to be a problem in brl_checks.c somewhere in that it thinks the expected and the receivced translation are different where they really aren't. I'll have to dig into this some more. Good thing brl_checks.c gets more exposure (and hopefully fixes)

Thanks
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland


-----
Die Android-App für SBS-Hoerbuecher ist da! Jetzt kostenlos im Google Play
Store herunterladen.
(https://play.google.com/store/apps/details?id=nl.dedicon.sbsleser)
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: